what about binding to 127.0.0.1 instead of 0.0.0.0 ?
On Sat, Jan 4, 2014 at 5:12 PM, Zohreh Naghibi <[email protected]>wrote: > Hi all > I have implemented UDP socket programming in c code. It sends packets (1 > KB) via UDP port. The code works correctly in my own linux but NOT in > gem5's Linux. Here's my output and the error: > > ./server : > ********************************************** > UDP server - socket() is OK > > Using IP 0.0.0.0 and port 15107 > > UDP server - Listening... > ****************************************** > ./client localhost 15107 (this port is free) > > UDP Client - socket() is OK! > > UDP Client - gethostname() of the server is OK... > > Connected to UDP server > > UDP Client - sendto() error: *Network is unreachable * > > ************************************************************** > > Any help would be appreciated... > > _______________________________________________ > gem5-users mailing list > [email protected] > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users >
_______________________________________________ gem5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
