My Community
April 01, 2015, 11:20:07 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: 6/29/2011 RakNet 4.022 released.
   Home   Help Search Login Register  
Pages: [1]
Author Topic: what will happen if connecting to a connected peer  (Read 823 times)

Karma: 0
Posts: 10

View Profile
« on: March 05, 2013, 05:13:52 AM »

connect for 1th time

got                                                                                                                                 got
[ID_CONNECTION_REQUEST_ACCEPTED]                                                           [ID_NEW_INCOMING_CONNECTION]

ok , c-to-s connection is established!
what will happend if i connect from C to S again ?
what message id will get in C and S site ? and what will cause this messageID to be repied : ID_ALREADY_CONNECTED:
Report to moderator   Logged
Hero Member

Karma: 292
Posts: 6895

View Profile WWW
« Reply #1 on: March 08, 2013, 01:10:21 AM »

The connect call will fail if you call it on a system you are already connected to. ID_ALREADY_CONNECTED is if the other side still thinks you are connected, but your own machine does not. For example, you crashed and restarted a game client.
Report to moderator   Logged
Pages: [1]
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.17 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!