Changeset 151
- Timestamp:
- Jul 1, 2008, 6:22:32 PM (15 years ago)
- Location:
- abuse/trunk/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
abuse/trunk/src/innet.cpp
r129 r151 382 382 dprintf("Joining game in progress, hang on....\n"); 383 383 384 game_sock=prot->create_listen_socket(main_net_cfg->port+ 1,net_socket::SOCKET_FAST); // this is used for fast game packet transmission384 game_sock=prot->create_listen_socket(main_net_cfg->port+2,net_socket::SOCKET_FAST); // this is used for fast game packet transmission 385 385 if (!game_sock) { if (comm_sock) delete comm_sock; comm_sock=NULL; prot=NULL; return 0; } 386 386 game_sock->read_selectable(); … … 394 394 395 395 uint8_t ctype=CLIENT_ABUSE; 396 uint16_t port=lstl(main_net_cfg->port+ 1),cnum;396 uint16_t port=lstl(main_net_cfg->port+2),cnum; 397 397 398 398 uint8_t reg; -
abuse/trunk/src/net/netdrv.cpp
r124 r151 273 273 if (out->write(&cmd,1)!=1) { mdie("could not write block ack1"); } // send something to unblock engine 274 274 } break; 275 275 276 case NFCMD_KILL_SLACKERS : 276 277 { … … 288 289 if (in->read(&cmd,1)!=1) { mdie("could not read send ack2"); } // read something to block ourselves for engine 289 290 } break; 290 291 291 292 292 case NFCMD_REQUEST_ENTRY : … … 299 299 if (out->write(&success,2)!=2) mdie("cound not send lsf read failure"); 300 300 } break; 301 301 302 case NFCMD_BECOME_SERVER : 302 303 { … … 304 305 if (out->write(&cmd,1)!=1) mdie("cound not send ok"); 305 306 } break; 307 306 308 case NFCMD_REQUEST_LSF : 307 309 { … … 450 452 strcpy(sn_start,server_name); 451 453 452 net_socket *sock=connect_to_server(server_name, DEFAULT_COMM_PORT,0);454 net_socket *sock=connect_to_server(server_name, DEFAULT_COMM_PORT, 0); 453 455 if (!sock) 454 456 {
Note: See TracChangeset
for help on using the changeset viewer.