aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* h_addr -> h_addr_list[0] because the former is apparently not supported any ↵HEADsvnmasterknarf2009-02-05
| | | | | | longer git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/Socket/trunk@42 9697cf00-7f2a-4e1b-af3c-314b8e4b499e
* Fixed a bug in Socket_SetNonBlocking() where the third argument to ioctl()tradke2002-07-05
| | | | | | | | | should be an 'unsigned int' instead of 'unsigned long'. This fixes a problem on 64-bit SGIs where a socket couldn't be set into non-blocking operation. git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/Socket/trunk@27 9697cf00-7f2a-4e1b-af3c-314b8e4b499e
* Fix to make it compiling under Windows.tradke2002-06-03
| | | | | | | | Still the error code checking is wrong: should compare against WSA<ERRNO> instead of just <ERRNO>. git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/Socket/trunk@23 9697cf00-7f2a-4e1b-af3c-314b8e4b499e
* Only include <sys/ioctl.h> if it is available. This should make it compilingtradke2002-06-01
| | | | | | | under Micro$oft Windoz. git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/Socket/trunk@22 9697cf00-7f2a-4e1b-af3c-314b8e4b499e
* Added missing include <sys/filio.h> which is needed on Solaris systems.tradke2002-05-31
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/Socket/trunk@21 9697cf00-7f2a-4e1b-af3c-314b8e4b499e
* Final changes before moving this thorn over to CactusConnect.tradke2002-05-14
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/Socket/trunk@20 9697cf00-7f2a-4e1b-af3c-314b8e4b499e
* Just some small fixes before moving to the CactusConnect arrangement.tradke2002-05-07
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/Socket/trunk@19 9697cf00-7f2a-4e1b-af3c-314b8e4b499e
* Making rcsid strings constant - PR 669.goodale2001-05-10
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/Socket/trunk@17 9697cf00-7f2a-4e1b-af3c-314b8e4b499e
* Included <errno.h> otherwise it breaks compilation under Solaris.tradke2000-11-03
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/Socket/trunk@15 9697cf00-7f2a-4e1b-af3c-314b8e4b499e
* Removed socket routine prototypes at top of source file as these shouldtradke2000-11-03
| | | | | | | | | | | | already be declared by the included headers. And they even were declared different on AIX so that the mpicc compiler stopped with an error. Also renamed a local variable 'sin' into 's_in' because gcc warned about hiding a global math function. git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/Socket/trunk@14 9697cf00-7f2a-4e1b-af3c-314b8e4b499e
* Define INADDR_NONE if it's not there (such as under SunOS).tradke2000-10-30
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/Socket/trunk@13 9697cf00-7f2a-4e1b-af3c-314b8e4b499e
* Also print strerror(3) output in case of socket errors.tradke2000-10-25
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/Socket/trunk@12 9697cf00-7f2a-4e1b-af3c-314b8e4b499e
* bind(sock,(struct sockaddr *)&sin, ... sock address structure has to be castedlanfer2000-08-23
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/Socket/trunk@11 9697cf00-7f2a-4e1b-af3c-314b8e4b499e
* Include <string.h>tradke2000-07-28
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/Socket/trunk@10 9697cf00-7f2a-4e1b-af3c-314b8e4b499e
* Close an already opened socket if the following bind/setsockopt/accept/connecttradke2000-07-15
| | | | | | | failed. Replaced bzero/bcopy by memset/memcpy. Fixed minor compiler warnings. git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/Socket/trunk@9 9697cf00-7f2a-4e1b-af3c-314b8e4b499e
* Added CCTK_FILEVERSION() and set TCP server sockets to SO_REUSEADDR.tradke2000-06-19
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/Socket/trunk@7 9697cf00-7f2a-4e1b-af3c-314b8e4b499e
* adding routine to set socket connection to non-blockinglanfer2000-06-15
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/Socket/trunk@6 9697cf00-7f2a-4e1b-af3c-314b8e4b499e
* Fixing typo.goodale2000-05-30
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/Socket/trunk@5 9697cf00-7f2a-4e1b-af3c-314b8e4b499e
* TCPBlockingWrite -> Socket_... missinglanfer2000-05-26
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/Socket/trunk@4 9697cf00-7f2a-4e1b-af3c-314b8e4b499e
* Socket thorn based on John Shalf's codegoodale2000-05-25
git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/Socket/trunk@2 9697cf00-7f2a-4e1b-af3c-314b8e4b499e