Thread: Is it possible?
View Single Post
  #2  
Old 10-31-2013, 05:21 PM
HnathBST
Sarnak
 
Join Date: Feb 2007
Location: Sunset Home
Posts: 71
Default

Looking through the code (with my limited knowledge of c++) I discovered INADDR_ANY in the all of the socket bind files (streamfactory, tcpserver, etc). My research of this constant (which turns out to be 0) says that it basically tells bind() to bind on all available interfaces. Which is EXACTLY what I don't want.

I have replaced them with pton("WorldAddress") and managed to get it to compile. The login server works (haven't tested if it binds on all addresses or not) world launches without error. The zone launcher starts and zones connect but disconnect and continually try to reconnect.

I'll play around with it a little more and post my results. Hopefully I can get this working, I'd really like to have a test server hosted on my VPS.
Reply With Quote