Torque3D/Engine/source/platform
Chris Millsap db3ffab832 Possible fix to issue #1951
(Code formated to be submitted for pull request) -- Indentation was off.
SAME FIX AS BEFORE

When two instances of Torque3D are running on the same network, one as a
hosted server and the other as a client, the client is unable to connect
to the server. The program now can open a socket. This was obviously a
typo. To find the error I just searched for keywords containing socket,
open, open socket, and opensocket till I found the correct file. The
other error was in how the program processed “non fatal” errors. I just
outputed the error to the main console and devised that the socket
should not be closed for a WSAEWOULDBLOCK error 10035 "It is normal for
WSAEWOULDBLOCK to be reported as the result from calling connect on a
nonblocking SOCK_STREAM socket, since some time must elapse for the
connection to be established."

Read about the WouldBlock error:

https://msdn.microsoft.com/en-us/library/windows/desktop/ms740668(v=vs.85).aspx

Use of dbgSetParameters ( port , password ):

http://docs.garagegames.com/tge/official/content/documentation/Reference/Console%20Functions/TorqueScript_Console_Functions_2.html#dbgSetParameters_.28_port_.2C_password_.29
2017-04-11 14:51:29 -04:00
..
async Fixed some random Worder warnings 2015-07-03 15:52:38 +02:00
input Fixes up the handling of accelerator keybinds for SDL - specifically compound ones with several modifier keys, ie ctrl-alt-shift-up. 2017-01-29 03:22:25 -06:00
menus Replaced StringTable->insert("") with StringTable->EmptyString() 2017-01-11 23:36:04 -05:00
nativeDialogs Replaced StringTable->insert("") with StringTable->EmptyString() 2017-01-11 23:36:04 -05:00
output Add basic support for showing openvr controllers and tracked objects 2016-09-11 22:42:42 +01:00
test something went squiffy in the last set of merges 2017-01-06 18:41:47 -05:00
threads Don't assert; sometimes there aren't any jobs to wait for! 2015-07-05 14:11:24 +10:00
platform.cpp Bug fixes for alternative zip layout and define to toggle it on 2013-02-28 16:46:46 -05:00
platform.h Initial Implementation of the Taml, Asset and Modules systems. 2015-10-13 15:19:36 -05:00
platformAssert.cpp Merge remote-tracking branch 'refs/remotes/origin/development' into pr/1153 2016-02-26 14:39:38 +01:00
platformAssert.h Tidy up and fix the various Assert macros 2015-02-02 18:37:48 -05:00
platformCPU.cpp Tabs... 2014-11-30 21:49:41 -05:00
platformCPUCount.cpp Changes for Linux. 2015-01-19 01:44:36 +01:00
platformCPUCount.h Engine directory for ticket #1 2012-09-19 11:15:01 -04:00
platformCPUInfo.asm Engine directory for ticket #1 2012-09-19 11:15:01 -04:00
platformDlibrary.h Engine directory for ticket #1 2012-09-19 11:15:01 -04:00
platformFileIO.cpp Initial Implementation of the Taml, Asset and Modules systems. 2015-10-13 15:19:36 -05:00
platformFont.cpp Engine directory for ticket #1 2012-09-19 11:15:01 -04:00
platformFont.h Minimal changes to compile T3D on WIN64. 2014-09-14 21:39:56 +02:00
platformGL.h Add OpenGL support. 2014-11-08 20:21:50 +01:00
platformInput.h Reverted #540 2014-07-14 15:13:30 +02:00
platformIntrinsics.gcc.h Remove comments. 2015-05-09 15:02:41 +10:00
platformIntrinsics.h Changed some size_t to uintptr_t. 2015-02-07 16:41:54 +01:00
platformIntrinsics.visualc.h Engine directory for ticket #1 2012-09-19 11:15:01 -04:00
platformMemory.cpp Tweaks any enums that use uint_max values so that they have hard types to avoid any compiler kerfluffles with C++11 value narrowing, specifically pertaining to clang. 2016-10-17 01:00:12 -05:00
platformMemory.h Engine directory for ticket #1 2012-09-19 11:15:01 -04:00
platformNet.cpp Possible fix to issue #1951 2017-04-11 14:51:29 -04:00
platformNet.h Hotfix to re-add the prior static function fix for these functions that was accidentally removed. 2017-01-31 19:16:34 -06:00
platformNetAsync.cpp Preliminary IPV6 Support 2016-10-25 19:09:02 +01:00
platformNetAsync.h Preliminary IPV6 Support 2016-10-25 19:09:02 +01:00
platformRedBook.cpp Fix stack balancing problems by refactoring execution calls 2015-02-08 00:08:18 +00:00
platformRedBook.h Engine directory for ticket #1 2012-09-19 11:15:01 -04:00
platformTimer.cpp clang catch: pragma note. (no longer needed) 2016-10-14 17:04:17 -05:00
platformTimer.h Engine directory for ticket #1 2012-09-19 11:15:01 -04:00
platformTLS.h Engine directory for ticket #1 2012-09-19 11:15:01 -04:00
platformVFS.h Engine directory for ticket #1 2012-09-19 11:15:01 -04:00
platformVideoInfo.cpp Fix platforms that don't support PVI_NumAdapters 2013-04-09 13:20:19 -04:00
platformVideoInfo.h Engine directory for ticket #1 2012-09-19 11:15:01 -04:00
platformVolume.cpp refactored platform precompiler variable: TORQUE_OS_WIN{32,64,} 2014-03-15 15:10:14 +01:00
platformVolume.h Engine directory for ticket #1 2012-09-19 11:15:01 -04:00
profiler.cpp whitespace 2017-01-11 23:34:46 -05:00
profiler.h Engine directory for ticket #1 2012-09-19 11:15:01 -04:00
tmm_off.h Engine directory for ticket #1 2012-09-19 11:15:01 -04:00
tmm_on.h Engine directory for ticket #1 2012-09-19 11:15:01 -04:00
types.codewarrior.h refactored platform precompiler variable: TORQUE_OS_WIN{32,64,} 2014-03-15 15:10:14 +01:00
types.gcc.h MacOS platform support. 2016-09-28 11:09:48 +10:00
types.h Fix comment 2015-03-08 20:12:14 -04:00
types.lint.h refactored platform precompiler variable: TORQUE_OS_WIN{32,64,} 2014-03-15 15:10:14 +01:00
types.mac.h Engine directory for ticket #1 2012-09-19 11:15:01 -04:00
types.posix.h Changes for Linux. 2015-01-19 01:44:36 +01:00
types.ppc.h Engine directory for ticket #1 2012-09-19 11:15:01 -04:00
types.visualc.h Merge remote-tracking branch 'refs/remotes/origin/development' into pr/1153 2016-02-26 14:39:38 +01:00
types.win.h moved header file to have a more meaningful naming 2014-03-15 14:05:30 +01:00
types.xenon.h Engine directory for ticket #1 2012-09-19 11:15:01 -04:00
typesLinux.h Engine directory for ticket #1 2012-09-19 11:15:01 -04:00
typesPPC.h Engine directory for ticket #1 2012-09-19 11:15:01 -04:00
typesWin32.h fixed WIN64 precompiler flags up - basics 2014-03-15 13:43:48 +01:00
typesX86UNIX.h Engine directory for ticket #1 2012-09-19 11:15:01 -04:00
typetraits.h Changed some size_t to uintptr_t. 2015-02-07 16:41:54 +01:00