mirror of
https://github.com/Oibaf66/frodo-wii.git
synced 2024-11-14 07:35:12 +01:00
Removed some printouts
This commit is contained in:
parent
20d7d7cb87
commit
efb8cbd0a1
@ -97,7 +97,6 @@ void C64::c64_ctor1(void)
|
|||||||
}
|
}
|
||||||
if (fixme_tmp_network_client)
|
if (fixme_tmp_network_client)
|
||||||
{
|
{
|
||||||
printf("Nu blir det åka av!\n");
|
|
||||||
strcpy(this->server_hostname, fixme_tmp_network_client);
|
strcpy(this->server_hostname, fixme_tmp_network_client);
|
||||||
this->peer = new Network(this->server_hostname, this->server_port, false);
|
this->peer = new Network(this->server_hostname, this->server_port, false);
|
||||||
this->network_connection_type = CLIENT;
|
this->network_connection_type = CLIENT;
|
||||||
|
@ -808,7 +808,6 @@ bool Network::WaitForPeerAddress()
|
|||||||
char buf[128];
|
char buf[128];
|
||||||
|
|
||||||
/* Not sure what to do if this fails */
|
/* Not sure what to do if this fails */
|
||||||
printf("Fläsk: %s:%d\n", pi->peers[0].public_ip, pi->peers[0].public_port);
|
|
||||||
this->IpToStr(buf, pi->peers[0].public_ip);
|
this->IpToStr(buf, pi->peers[0].public_ip);
|
||||||
return this->InitSockaddr(&this->connection_addr, buf,
|
return this->InitSockaddr(&this->connection_addr, buf,
|
||||||
pi->peers[0].public_port);
|
pi->peers[0].public_port);
|
||||||
@ -902,7 +901,6 @@ bool Network::ConnectToPeer()
|
|||||||
|
|
||||||
bool Network::ConnectFSM()
|
bool Network::ConnectFSM()
|
||||||
{
|
{
|
||||||
printf("Konnect: %d\n", this->network_connection_state);
|
|
||||||
/* See http://www.brynosaurus.com/pub/net/p2pnat/ for how this works.
|
/* See http://www.brynosaurus.com/pub/net/p2pnat/ for how this works.
|
||||||
*
|
*
|
||||||
* For the server ("master"):
|
* For the server ("master"):
|
||||||
|
@ -130,8 +130,6 @@ class Peer:
|
|||||||
def addr_to_ip_and_port(self, addr):
|
def addr_to_ip_and_port(self, addr):
|
||||||
ip = struct.unpack("@L", socket.inet_pton(socket.AF_INET, addr[0]))[0]
|
ip = struct.unpack("@L", socket.inet_pton(socket.AF_INET, addr[0]))[0]
|
||||||
port = addr[1]
|
port = addr[1]
|
||||||
|
|
||||||
print ip, port
|
|
||||||
return "%08x" % (ip), port
|
return "%08x" % (ip), port
|
||||||
|
|
||||||
def handle_packet(self, pkt):
|
def handle_packet(self, pkt):
|
||||||
|
Loading…
Reference in New Issue
Block a user