Sesion 8: Practicing with client and servers - myTeachingURJC/2018-19-PNE GitHub Wiki
- Goals:
- Practicing with clients and servers
- Practicing with concepts introduced in previous sessions
- Duration: 2h
- Date: Week 4: Wednesday, Feb-13th-2019
Contents
Practice 2
- Place all the files in your P2 Folder in your 2018-19-PNE repo in github
- Run the Teacher's server in your machine (Do not forget to configure the IP address)
- Create a client program that ask the user for a sequence (Use the Seq Class). Calculate the reverse-complement and send the sequence's string to the server. Repeat in a loop. You can verify if your client works by examining the Server's console: it will print the message received from your client
Practice 2-Extra (Optional)
- Study the Teachers server. Try to understand how it works and convert it into a server that calculates the complement sequence. Program a Client that ask the user for a sequence and send it to the server
- In the server read the sequence string and create a Seq object. Calculate its complement and return the value to the client
- Store all the files in the P2-Extra folder
Authors
-
Juan González-Gómez (Obijuan)
Credits
- Alvaro del Castillo. He designed and created the original content of this subject. Thanks a lot :-)