Author | Message | Time |
---|---|---|
Myndfyr | Hey fellas, How do I know ahead of time what port BNLS will reply to? I've been examining packet captures, wondering why I haven't received the reply, and lo, I am consistently on the wrong port. Aside from the random times when I'll get lucky, how can I fix this? Thanks! --Rob | September 18, 2003, 4:55 PM |
Camel | By using the correct port (9367). [quote]BNLS General Info ----------------- The BNLS server listens on TCP/IP port 9367. The official BNLS server is bnls.valhallalegends.com.[/quote] http://www.valhallalegends.com/yoni/BNLSProtocolSpec.txt | September 18, 2003, 5:10 PM |
Spht | [quote author=Myndfyre link=board=17;threadid=2744;start=0#msg21588 date=1063904146] Hey fellas, How do I know ahead of time what port BNLS will reply to? I've been examining packet captures, wondering why I haven't received the reply, and lo, I am consistently on the wrong port. Aside from the random times when I'll get lucky, how can I fix this? Thanks! --Rob [/quote] Try filtering to the static remote port (9367) instead of local port which changes depending on free ports on your system. | September 18, 2003, 5:54 PM |
Myndfyr | [quote author=Spht link=board=17;threadid=2744;start=0#msg21592 date=1063907648] Try filtering to the static remote port (9367) instead of local port which changes depending on free ports on your system. [/quote] I found it.... .NET sockets implementation just uses a random port, but since I needed to listen to your server's response, I needed to first bind to the local port. | September 21, 2003, 7:41 PM |
Yoni | That's a bad idea. Follow Spht's suggestion instead. | September 21, 2003, 9:11 PM |