This commit is contained in:
Tor Lillqvist 2001-01-25 21:19:45 +00:00
parent 8a0df0a71c
commit 20c9c60950
8 changed files with 40 additions and 40 deletions

View File

@ -3,11 +3,11 @@
* giowin32.c: Socket support rewritten. It was utterly broken, and * giowin32.c: Socket support rewritten. It was utterly broken, and
untested in fact. We still do use a thread for each socket being untested in fact. We still do use a thread for each socket being
watched, but instead of blocking in recv() (which of course was watched, but instead of blocking in recv() (which of course was
plain stupid for sockets being liste()ed on), we block in plain stupid for sockets being listen()ed on in a server-type
select(). The read method for sockets calls recv(). It is now application), we block in select(). The read method for sockets
possible for the application to call accept(), recv() or send() in calls recv(). It is now possible for the application to call
the callback, just like on Unix. Tested with code kindly provided accept(), recv() or send() in the callback, just like on
by Andrew Lanoix. Unix. Tested with code kindly provided by Andrew Lanoix.
Rename g_io_channel_win32_new_stream_socket() to Rename g_io_channel_win32_new_stream_socket() to
g_io_channel_win32_new_socket() as it isn't restricted to stream g_io_channel_win32_new_socket() as it isn't restricted to stream

View File

@ -3,11 +3,11 @@
* giowin32.c: Socket support rewritten. It was utterly broken, and * giowin32.c: Socket support rewritten. It was utterly broken, and
untested in fact. We still do use a thread for each socket being untested in fact. We still do use a thread for each socket being
watched, but instead of blocking in recv() (which of course was watched, but instead of blocking in recv() (which of course was
plain stupid for sockets being liste()ed on), we block in plain stupid for sockets being listen()ed on in a server-type
select(). The read method for sockets calls recv(). It is now application), we block in select(). The read method for sockets
possible for the application to call accept(), recv() or send() in calls recv(). It is now possible for the application to call
the callback, just like on Unix. Tested with code kindly provided accept(), recv() or send() in the callback, just like on
by Andrew Lanoix. Unix. Tested with code kindly provided by Andrew Lanoix.
Rename g_io_channel_win32_new_stream_socket() to Rename g_io_channel_win32_new_stream_socket() to
g_io_channel_win32_new_socket() as it isn't restricted to stream g_io_channel_win32_new_socket() as it isn't restricted to stream

View File

@ -3,11 +3,11 @@
* giowin32.c: Socket support rewritten. It was utterly broken, and * giowin32.c: Socket support rewritten. It was utterly broken, and
untested in fact. We still do use a thread for each socket being untested in fact. We still do use a thread for each socket being
watched, but instead of blocking in recv() (which of course was watched, but instead of blocking in recv() (which of course was
plain stupid for sockets being liste()ed on), we block in plain stupid for sockets being listen()ed on in a server-type
select(). The read method for sockets calls recv(). It is now application), we block in select(). The read method for sockets
possible for the application to call accept(), recv() or send() in calls recv(). It is now possible for the application to call
the callback, just like on Unix. Tested with code kindly provided accept(), recv() or send() in the callback, just like on
by Andrew Lanoix. Unix. Tested with code kindly provided by Andrew Lanoix.
Rename g_io_channel_win32_new_stream_socket() to Rename g_io_channel_win32_new_stream_socket() to
g_io_channel_win32_new_socket() as it isn't restricted to stream g_io_channel_win32_new_socket() as it isn't restricted to stream

View File

@ -3,11 +3,11 @@
* giowin32.c: Socket support rewritten. It was utterly broken, and * giowin32.c: Socket support rewritten. It was utterly broken, and
untested in fact. We still do use a thread for each socket being untested in fact. We still do use a thread for each socket being
watched, but instead of blocking in recv() (which of course was watched, but instead of blocking in recv() (which of course was
plain stupid for sockets being liste()ed on), we block in plain stupid for sockets being listen()ed on in a server-type
select(). The read method for sockets calls recv(). It is now application), we block in select(). The read method for sockets
possible for the application to call accept(), recv() or send() in calls recv(). It is now possible for the application to call
the callback, just like on Unix. Tested with code kindly provided accept(), recv() or send() in the callback, just like on
by Andrew Lanoix. Unix. Tested with code kindly provided by Andrew Lanoix.
Rename g_io_channel_win32_new_stream_socket() to Rename g_io_channel_win32_new_stream_socket() to
g_io_channel_win32_new_socket() as it isn't restricted to stream g_io_channel_win32_new_socket() as it isn't restricted to stream

View File

@ -3,11 +3,11 @@
* giowin32.c: Socket support rewritten. It was utterly broken, and * giowin32.c: Socket support rewritten. It was utterly broken, and
untested in fact. We still do use a thread for each socket being untested in fact. We still do use a thread for each socket being
watched, but instead of blocking in recv() (which of course was watched, but instead of blocking in recv() (which of course was
plain stupid for sockets being liste()ed on), we block in plain stupid for sockets being listen()ed on in a server-type
select(). The read method for sockets calls recv(). It is now application), we block in select(). The read method for sockets
possible for the application to call accept(), recv() or send() in calls recv(). It is now possible for the application to call
the callback, just like on Unix. Tested with code kindly provided accept(), recv() or send() in the callback, just like on
by Andrew Lanoix. Unix. Tested with code kindly provided by Andrew Lanoix.
Rename g_io_channel_win32_new_stream_socket() to Rename g_io_channel_win32_new_stream_socket() to
g_io_channel_win32_new_socket() as it isn't restricted to stream g_io_channel_win32_new_socket() as it isn't restricted to stream

View File

@ -3,11 +3,11 @@
* giowin32.c: Socket support rewritten. It was utterly broken, and * giowin32.c: Socket support rewritten. It was utterly broken, and
untested in fact. We still do use a thread for each socket being untested in fact. We still do use a thread for each socket being
watched, but instead of blocking in recv() (which of course was watched, but instead of blocking in recv() (which of course was
plain stupid for sockets being liste()ed on), we block in plain stupid for sockets being listen()ed on in a server-type
select(). The read method for sockets calls recv(). It is now application), we block in select(). The read method for sockets
possible for the application to call accept(), recv() or send() in calls recv(). It is now possible for the application to call
the callback, just like on Unix. Tested with code kindly provided accept(), recv() or send() in the callback, just like on
by Andrew Lanoix. Unix. Tested with code kindly provided by Andrew Lanoix.
Rename g_io_channel_win32_new_stream_socket() to Rename g_io_channel_win32_new_stream_socket() to
g_io_channel_win32_new_socket() as it isn't restricted to stream g_io_channel_win32_new_socket() as it isn't restricted to stream

View File

@ -3,11 +3,11 @@
* giowin32.c: Socket support rewritten. It was utterly broken, and * giowin32.c: Socket support rewritten. It was utterly broken, and
untested in fact. We still do use a thread for each socket being untested in fact. We still do use a thread for each socket being
watched, but instead of blocking in recv() (which of course was watched, but instead of blocking in recv() (which of course was
plain stupid for sockets being liste()ed on), we block in plain stupid for sockets being listen()ed on in a server-type
select(). The read method for sockets calls recv(). It is now application), we block in select(). The read method for sockets
possible for the application to call accept(), recv() or send() in calls recv(). It is now possible for the application to call
the callback, just like on Unix. Tested with code kindly provided accept(), recv() or send() in the callback, just like on
by Andrew Lanoix. Unix. Tested with code kindly provided by Andrew Lanoix.
Rename g_io_channel_win32_new_stream_socket() to Rename g_io_channel_win32_new_stream_socket() to
g_io_channel_win32_new_socket() as it isn't restricted to stream g_io_channel_win32_new_socket() as it isn't restricted to stream

View File

@ -3,11 +3,11 @@
* giowin32.c: Socket support rewritten. It was utterly broken, and * giowin32.c: Socket support rewritten. It was utterly broken, and
untested in fact. We still do use a thread for each socket being untested in fact. We still do use a thread for each socket being
watched, but instead of blocking in recv() (which of course was watched, but instead of blocking in recv() (which of course was
plain stupid for sockets being liste()ed on), we block in plain stupid for sockets being listen()ed on in a server-type
select(). The read method for sockets calls recv(). It is now application), we block in select(). The read method for sockets
possible for the application to call accept(), recv() or send() in calls recv(). It is now possible for the application to call
the callback, just like on Unix. Tested with code kindly provided accept(), recv() or send() in the callback, just like on
by Andrew Lanoix. Unix. Tested with code kindly provided by Andrew Lanoix.
Rename g_io_channel_win32_new_stream_socket() to Rename g_io_channel_win32_new_stream_socket() to
g_io_channel_win32_new_socket() as it isn't restricted to stream g_io_channel_win32_new_socket() as it isn't restricted to stream