Welcome,
Guest
. Please
login
or
register
. Did you miss your
activation email?
French forum
Home
Help
Search
Login
Register
SFML community forums
»
Help
»
Network
»
my tcpsocket keeps getting disconnected everytime i call recieve function
Print
Pages: [
1
]
Author
Topic: my tcpsocket keeps getting disconnected everytime i call recieve function (Read 1991 times)
0 Members and 1 Guest are viewing this topic.
lorence30
Full Member
Posts: 124
my tcpsocket keeps getting disconnected everytime i call recieve function
«
on:
October 29, 2015, 03:34:44 pm »
i dont know why client1.receive(message,sizeof(message),size) always returns sf::Socket::Disconnected
char message[] = "Someone has joined the game";
std::size_t size = 0;
can someone explain this to me
Logged
Print
Pages: [
1
]
SFML community forums
»
Help
»
Network
»
my tcpsocket keeps getting disconnected everytime i call recieve function