|
HY335a-Project
A_multithread_chat_Server_and_chat_client
|
#include <chatserver.h>
Data Fields | |
| int | port |
| char * | server_ip |
| int | refresh_rate |
Pass this struct as parameter to the thread that broadcasts the invitation messages for the automatic server discovery.
| int broadcast_invitation_tread_params::port |
The port on which the server listens
| int broadcast_invitation_tread_params::refresh_rate |
Every how many seconds a broadcast message is sent
| char* broadcast_invitation_tread_params::server_ip |
The IP address of the server
1.8.1