error connect socket: "ICMP error received: type=13 code=3"

143 views
Skip to first unread message

Gisane Michelon

unread,
Feb 7, 2013, 10:24:20 AM2/7/13
to omn...@googlegroups.com
ocurrs the error when try connect the socket:

"ICMP error received: type=13 code=3 about packet 145.236.0.1:1026 > 145.236.0.3:1039  No socket on that local port, ignoring ICMP error"

This error occurs because not find port, I configure destPort:  

socket.connect(IPvXAddress(ipDestino.c_char()),destPort);

but not work, how do I know the correct port to connect the socket?

Ivo Calado

unread,
Feb 7, 2013, 10:32:48 AM2/7/13
to omn...@googlegroups.com
Gisase, I may be wrong (I don't work with Inet), but did you started the server?

[]'s

--
--
Sent from the OMNeT++ mailing list. To configure your membership,
visit http://groups.google.com/group/omnetpp
 
---
You received this message because you are subscribed to the Google Groups "omnetpp" group.
To unsubscribe from this group and stop receiving emails from it, send an email to omnetpp+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 



--
Ivo Calado

Quidquid latine dictum sit, altum viditur

Putt's Law:
       Technology is dominated by two types of people:
               Those who understand what they do not manage.
               Those who manage what they do not understand.

Gisane Michelon

unread,
Feb 8, 2013, 6:27:23 AM2/8/13
to omn...@googlegroups.com
thanks, Ivo, works!!!!!!!!

2013/2/7 Ivo Calado



--
Gisane
Reply all
Reply to author
Forward
0 new messages