"socket.error: [Errno 98] Address already in use" in heterogeneous example

119 views
Skip to first unread message

iratxe esparza chueca

unread,
Jun 6, 2015, 6:21:08 AM6/6/15
to omn...@googlegroups.com
Hello,

I'm trying to change the application type in the veins-lte "heterogeneous" example and I get the following error (in the SUMO log): "socket.error: [Errno 98] Address already in use"
I tried with different traffic configurations in SUMO or with different applications, but I always get the same error. I'm able to run the the example, but it stops in a few seconds without showing any errors on OMNeT++.

Here's my code:

*.node[*].applType = "UDPVideoStreamCli"
*.node[*].appl.serverAddress = "server"           
*.node[*].appl.localPort = 9999
*.node[*].appl.serverPort = 3088               
*.node[*].appl.startTime = uniform(0s, 0.02s)

*.server.applType = "UDPVideoStreamSvr"
*.server.appl.videoSize = 10MiB
*.server.appl.localPort = 3088
*.server.appl.sendInterval = 20ms
*.server.appl.packetLen = ${packetLen = 1000B }
**.mtu = 10000B

I'd appreciate any help, I really don't know how to solve it... Thanks in advance!

Iratxe

L. Jacob Mariscal Fernández

unread,
Jun 6, 2015, 8:19:26 AM6/6/15
to omn...@googlegroups.com
You can try to post your question also here https://stackoverflow.com/questions/tagged/omnet%2b%2b with appropiated tags
Enjoy the weekend!

iratxe esparza chueca

unread,
Jun 6, 2015, 9:31:41 AM6/6/15
to omn...@googlegroups.com
Thanks for the advice, I'll post it there aswell!

iratxe esparza chueca

unread,
Jun 8, 2015, 9:44:42 AM6/8/15
to omn...@googlegroups.com
Hello,

I finally asked in stackoverflow and the thing is that I got the error wrong, it wasn't related to the code.
Anyway, I leave the link here, just in case someone has the same problem:


Iratxe


El sábado, 6 de junio de 2015, 12:21:08 (UTC+2), iratxe esparza chueca escribió:
Reply all
Reply to author
Forward
0 new messages