./hw3 10080 Got connection (Client 1). Client 1 set name to: Jakob Got connection (Client 2). Jakob said: Hello Jakob said: How are you? Client 2 said: Hello, I am fine. Client 1 said: Who are you? Client 2 set name to: Tomas. Tomas disconnected. A total of 27 bytes received from Tomas. Jakob disconnected. A total of 28 bytes received from Jakob. where one of the telnet sessions would look like: telnet localhost 10080 name Jakob Client 2 connected. say Hello say How are you? Client 2> Hello, I am fine. say Who are you? Client 2 set name to: Tomas. Tomas disconnected. ^] closeTIP: the selectserver.c example will give you an excellent start.
Copyright 2016 The Board of Trustees of the University of Illinois.webmaster@cs.uic.edu |
WISEST Helping Women Faculty Advance Funded by NSF | ![]() | ![]() |