removed connect greet
This commit is contained in:
parent
a1099d0ee1
commit
5124b73802
@ -191,12 +191,6 @@ void *clientCommunication(void *data)
|
|||||||
int size;
|
int size;
|
||||||
int *current_socket = (int *)data;
|
int *current_socket = (int *)data;
|
||||||
|
|
||||||
strcpy(buffer, "Welcome to myserver!\r\nPlease enter your commands...\r\n");
|
|
||||||
if (send(*current_socket, buffer, strlen(buffer), 0) == -1) {
|
|
||||||
perror("send failed");
|
|
||||||
return NULL;
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string incomplete_message = "";
|
std::string incomplete_message = "";
|
||||||
|
|
||||||
do {
|
do {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user