i had another try at it today, i fixed one of the problems but i still have another

first ill explain what im trying to do.

i have a "master server", this is what the game connects to to get a list of hosts or add a host.

a game connects to this, sends a "request host list" packet and then disconnects after it receives the packet. the game can now connect to a host.

a host can connect to it, send a "add new host" packet, containing server details and game settings (selected track etc)



the master server seems to be functioning ok but when i try to connect to it a message is sent to the DirectPlayMessageHandler about 4 seconds into the connection and then streight after that message is sent an access violation happens.

ive uploaded the master server and the connection test to http://www.vadertrophy.com/files/racer/dplay.zip

please help (again)