Commit 2a04ce75 by Danny Smith Committed by Danny Smith

g-stsifd-sockets.adb (Create): Replace Constants.SOCK_STREAM with SOSC.SOCK__STREAM.

	* g-stsifd-sockets.adb (Create): Replace Constants.SOCK_STREAM
	with SOSC.SOCK__STREAM.
	* g-socthi-mingw.adb (C_Select) Replace Constants.MSG_OOB with
	SOSC.MSG_OOB.

From-SVN: r138974
parent 47d0c648
2008-08-12 Danny Smith <danyssmith@users.sourceforge.net>
* g-stsifd-sockets.adb (Create): Replace Constants.SOCK_STREAM
with SOSC.SOCK__STREAM.
* g-socthi-mingw.adb (C_Select) Replace Constants.MSG_OOB with
SOSC.MSG_OOB.
2008-08-11 Joel Sherrill <joel.sherrill@oarcorp.com> 2008-08-11 Joel Sherrill <joel.sherrill@oarcorp.com>
* s-oscons-tmplt.c: RTEMS defines AF_INET6 but does support it. * s-oscons-tmplt.c: RTEMS defines AF_INET6 but does support it.
...@@ -341,7 +341,7 @@ package body GNAT.Sockets.Thin is ...@@ -341,7 +341,7 @@ package body GNAT.Sockets.Thin is
if EFS /= No_Fd_Set_Access then if EFS /= No_Fd_Set_Access then
declare declare
EFSC : constant Fd_Set_Access := New_Socket_Set (EFS); EFSC : constant Fd_Set_Access := New_Socket_Set (EFS);
Flag : constant C.int := SOSC.MSG_PEEK + Constants.MSG_OOB; Flag : constant C.int := SOSC.MSG_PEEK + SOSC.MSG_OOB;
Buffer : Character; Buffer : Character;
Length : C.int; Length : C.int;
Fromlen : aliased C.int; Fromlen : aliased C.int;
......
...@@ -82,7 +82,7 @@ package body Signalling_Fds is ...@@ -82,7 +82,7 @@ package body Signalling_Fds is
-- Create a listening socket -- Create a listening socket
L_Sock := C_Socket (SOSC.AF_INET, Constants.SOCK_STREAM, 0); L_Sock := C_Socket (SOSC.AF_INET, SOSC.SOCK_STREAM, 0);
if L_Sock = Failure then if L_Sock = Failure then
goto Fail; goto Fail;
...@@ -122,7 +122,7 @@ package body Signalling_Fds is ...@@ -122,7 +122,7 @@ package body Signalling_Fds is
-- Create read end (client) socket -- Create read end (client) socket
R_Sock := C_Socket (SOSC.AF_INET, Constants.SOCK_STREAM, 0); R_Sock := C_Socket (SOSC.AF_INET, SOSC.SOCK_STREAM, 0);
if R_Sock = Failure then if R_Sock = Failure then
goto Fail; goto Fail;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment