Added a sleep call in the client to allow the server time to write to the socket. It is now working with custom map size!!!