/[resiprocate]/main/rutil/Socket.hxx
ViewVC logotype

Log of /main/rutil/Socket.hxx

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (download) (annotate)
Sticky Revision:

Revision 11235 - (view) (download) (annotate) - [select for diffs]
Modified Mon Sep 15 17:20:11 2014 UTC (5 years, 2 months ago) by dpocock
File length: 8876 byte(s)
Diff to previous 8952
resip/stack: TcpBaseTransport: generalize support for SO_NOSIGPIPE

Revision 8952 - (view) (download) (annotate) - [select for diffs]
Modified Thu Jan 6 19:57:50 2011 UTC (8 years, 10 months ago) by kwhite
File length: 8834 byte(s)
Diff to previous 8893
Augment Transport&Connection failure reporting

* Add new reason codes to TransportFailure and add new field mFailureSubCode.
* Extend Connect and Transport classes to declare more detailed errors
* when failing a transaction.  Errno is provided as the failureSubCode.
* TransactionState adds this more detailed error info to the Warning
* header. Currently justed added as numeric text -- this could be
  cannonicalize for specific error codes if needed.
* White space fixes.

Revision 8893 - (view) (download) (annotate) - [select for diffs]
Modified Mon Dec 6 16:58:33 2010 UTC (8 years, 11 months ago) by kwhite
File length: 8692 byte(s)
Diff to previous 8789
Basic epoll support for resip stack

- Implements "internal" epoll mode that work with existing select-based
  stack threads.
- Conditionally enabled on platforms with epoll (unix varients)

Revision 8789 - (view) (download) (annotate) - [select for diffs]
Modified Fri Jul 23 19:30:11 2010 UTC (9 years, 4 months ago) by jmatthewsr
File length: 8392 byte(s)
Diff to previous 8785
Starting with Visual Studio 2010 Berkeley style errno constants are defined in errno.h and are now different than WSAGetLastError() WSA prefixed constants.  Redefine the Berkeley style constants for now, but will most likely have to normalize the Berkeley and WSA constants via RESIP_XXX socket error codes.

Revision 8785 - (view) (download) (annotate) - [select for diffs]
Modified Tue Jul 13 13:58:54 2010 UTC (9 years, 4 months ago) by sgodin
File length: 7422 byte(s)
Diff to previous 8729
-fix for errno defines when compiling under VS2005/2008 - should be checking
 compiler version (< VS2010) and not the target OS version

Revision 8729 - (view) (download) (annotate) - [select for diffs]
Modified Sun Jan 3 21:02:18 2010 UTC (9 years, 10 months ago) by sgodin
File length: 7408 byte(s)
Diff to previous 8435
-created reprolib project for VS2010
-remove VS2010 compiler warnings generated from Socket.hxx

Revision 8435 - (view) (download) (annotate) - [select for diffs]
Modified Wed Mar 4 22:55:02 2009 UTC (10 years, 8 months ago) by adam
File length: 7370 byte(s)
Diff to previous 8362
Fixing C/C++ linkage issues for Ares callbacks


Revision 8362 - (view) (download) (annotate) - [select for diffs]
Modified Fri Dec 12 02:59:56 2008 UTC (10 years, 11 months ago) by sgodin
File length: 7355 byte(s)
Diff to previous 8337
-moved INVALID_SOCKET and SOCKET_ERROR declarations from resip namespace to 
 #define for non WIN32 to match WIN32 implementation - thanks to Gregor Jasny for 
 pointing this out
 

Revision 8337 - (view) (download) (annotate) - [select for diffs]
Modified Thu Nov 27 17:25:41 2008 UTC (10 years, 11 months ago) by sgodin
File length: 7376 byte(s)
Diff to previous 8336
-reformatting - remove tabs
-removed accidentally checked in temp variable

Revision 8336 - (view) (download) (annotate) - [select for diffs]
Modified Thu Nov 27 17:18:21 2008 UTC (10 years, 11 months ago) by sgodin
File length: 7628 byte(s)
Diff to previous 8109
-add assertions under windows if there is no room to add a socket FD to an FD_SET
-WARNING in windows default FD_SETSIZE is 64 so using TCP/TLS transports is limited

Revision 8109 - (view) (download) (annotate) - [select for diffs]
Modified Wed Jun 25 15:35:24 2008 UTC (11 years, 4 months ago) by sgodin
File length: 7236 byte(s)
Diff to previous 7315
-place getErrno in resip namespace so windows and non-windows are consistent

Revision 7315 - (view) (download) (annotate) - [select for diffs]
Modified Fri Oct 12 21:10:27 2007 UTC (12 years, 1 month ago) by bcampen
File length: 7236 byte(s)
Diff to previous 7119
Work on the doxygen in rutil.

Revision 7119 - (view) (download) (annotate) - [select for diffs]
Modified Sun May 27 16:03:11 2007 UTC (12 years, 5 months ago) by ekr
File length: 7081 byte(s)
Diff to previous 6541
Cast FD_SETSIZE to avoid unsigned/signed compiler warnings

Revision 6541 - (view) (download) (annotate) - [select for diffs]
Modified Mon Aug 28 23:25:16 2006 UTC (13 years, 2 months ago) by derek
File length: 7066 byte(s)
Diff to previous 5934
don't include winsock2 when uncessarily and use LEAN_AND_MEAN for windows.h
Windows is a mess wrt to winsopck vs wincock2...the end result is that Socket.hxx needs to be inlcuded beofre compat.hxx.  Since Socket includes comapt, don't include compat.hxx in the same file as socket.hxx

Revision 5934 - (view) (download) (annotate) - [select for diffs]
Modified Thu Feb 16 23:58:28 2006 UTC (13 years, 9 months ago) by dworley
File length: 7067 byte(s)
Diff to previous 5930
Start cleaning up svn:mime-type in files.


Revision 5930 - (view) (download) (annotate) - [select for diffs]
Modified Thu Feb 16 22:39:14 2006 UTC (13 years, 9 months ago) by dworley
File length: 7067 byte(s)
Diff to previous 5811
Start cleaning up svn:eol-style and EOLs in files.
Note that text and program files that can be used on both Un*x and Windows
should have svn:eol-style=native so they check out correctly on both
platforms.


Revision 5811 - (view) (download) (annotate) - [select for diffs]
Modified Mon Jan 23 23:42:47 2006 UTC (13 years, 10 months ago) by derek
File length: 7067 byte(s)
Diff to previous 5295
a function pointer can be installed which will be called after a socket is constructed; just called in UDP cases so far. Function pointer because of the c-ness of ares.

Revision 5295 - (view) (download) (annotate) - [select for diffs]
Modified Mon Aug 22 00:30:05 2005 UTC (14 years, 3 months ago) by jason
File length: 6894 byte(s)
Copied from: branches/b-directory-reorg/rutil/Socket.hxx revision 5294
Diff to previous 5275
merged 5270:HEAD from b-directory-reorg

Revision 5275 - (view) (download) (annotate) - [select for diffs]
Modified Thu Aug 18 23:56:48 2005 UTC (14 years, 3 months ago) by jason
Original Path: branches/b-directory-reorg/rutil/Socket.hxx
File length: 6894 byte(s)
Diff to previous 5274
initial reorg - more to come

Revision 5274 - (view) (download) (annotate) - [select for diffs]
Modified Thu Aug 18 23:53:59 2005 UTC (14 years, 3 months ago) by jason
Original Path: branches/b-directory-reorg/resip/sip/os/Socket.hxx
File length: 6894 byte(s)
Diff to previous 5272
initial reorg - more to come

Revision 5272 - (view) (download) (annotate) - [select for diffs]
Modified Thu Aug 18 23:49:50 2005 UTC (14 years, 3 months ago) by jason
Original Path: branches/b-directory-reorg/resip/resiprocate/os/Socket.hxx
File length: 6894 byte(s)
Diff to previous 5271
initial reorg - more to come

Revision 5271 - (view) (download) (annotate) - [select for diffs]
Modified Thu Aug 18 23:43:07 2005 UTC (14 years, 3 months ago) by jason
Original Path: branches/b-directory-reorg/sip/resiprocate/os/Socket.hxx
File length: 6894 byte(s)
Diff to previous 5062
new directory reorg proposal

Revision 5062 - (view) (download) (annotate) - [select for diffs]
Modified Wed Jul 13 22:07:07 2005 UTC (14 years, 4 months ago) by nils
Original Path: main/sip/resiprocate/os/Socket.hxx
File length: 6894 byte(s)
Diff to previous 5047
merged fixes from b-release-0-9-0

Revision 5047 - (view) (download) (annotate) - [select for diffs]
Modified Mon Jul 11 22:44:23 2005 UTC (14 years, 4 months ago) by jason
Original Path: main/sip/resiprocate/os/Socket.hxx
File length: 6947 byte(s)
Diff to previous 4599
fix to compile on mac (at least on tiger)


Revision 4599 - (view) (download) (annotate) - [select for diffs]
Modified Wed May 11 23:10:19 2005 UTC (14 years, 6 months ago) by derek
Original Path: main/sip/resiprocate/os/Socket.hxx
File length: 6941 byte(s)
Diff to previous 4444
set svn:eol-style to LF

Revision 4444 - (view) (download) (annotate) - [select for diffs]
Modified Mon Apr 25 15:12:24 2005 UTC (14 years, 7 months ago) by sgodin
Original Path: main/sip/resiprocate/os/Socket.hxx
File length: 6941 byte(s)
Diff to previous 4409
track number of ready FD's in fdset after select call

Revision 4409 - (view) (download) (annotate) - [select for diffs]
Modified Thu Apr 21 03:53:58 2005 UTC (14 years, 7 months ago) by fluffy
Original Path: main/sip/resiprocate/os/Socket.hxx
File length: 6847 byte(s)
Diff to previous 3202
fixed for windws - really. Socket was not in resip namespace in windows compile. This caused repr not to compile 

Revision 3202 - (view) (download) (annotate) - [select for diffs]
Modified Mon Aug 2 04:45:02 2004 UTC (15 years, 3 months ago) by jason
Original Path: main/sip/resiprocate/os/Socket.hxx
File length: 6842 byte(s)
Diff to previous 3177
don't use std::max

Revision 3177 - (view) (download) (annotate) - [select for diffs]
Modified Fri Jul 30 22:57:34 2004 UTC (15 years, 3 months ago) by alan
Original Path: main/sip/resiprocate/os/Socket.hxx
File length: 6850 byte(s)
Diff to previous 2948
exceptions support for fd sets -- addresses windows streaming transport connection error issues

Revision 2948 - (view) (download) (annotate) - [select for diffs]
Modified Tue Jun 8 21:32:05 2004 UTC (15 years, 5 months ago) by derek
Original Path: main/sip/resiprocate/os/Socket.hxx
File length: 6647 byte(s)
Diff to previous 1876
Log::DEBUG, Log::CERR etc are now Log::Debug, Log::Cerr.
This is necessary for osX and there were some other macro collisions we were hacking around.  Basically, all upper case was just wrong.

Vairous other fixes to allow compilation on more platforms.

IPV6 for windows has been added to DnsUtil

Revision 1876 - (view) (download) (annotate) - [select for diffs]
Modified Wed Oct 1 17:53:33 2003 UTC (16 years, 1 month ago) by jason
Original Path: main/sip/resiprocate/os/Socket.hxx
File length: 6413 byte(s)
Diff to previous 1873
fix the cullen whirlwind


Revision 1873 - (view) (download) (annotate) - [select for diffs]
Modified Wed Oct 1 15:35:19 2003 UTC (16 years, 1 month ago) by fluffy
Original Path: main/sip/resiprocate/os/Socket.hxx
File length: 6411 byte(s)
Diff to previous 1852
fix errno stuff


Revision 1852 - (view) (download) (annotate) - [select for diffs]
Modified Mon Sep 29 00:36:52 2003 UTC (16 years, 1 month ago) by jason
Original Path: main/sip/resiprocate/os/Socket.hxx
File length: 6114 byte(s)
Diff to previous 1850
fix compile on linux


Revision 1850 - (view) (download) (annotate) - [select for diffs]
Modified Sun Sep 28 20:26:40 2003 UTC (16 years, 1 month ago) by fluffy
Original Path: main/sip/resiprocate/os/Socket.hxx
File length: 6117 byte(s)
Diff to previous 1847
compiles under windows - added bunch of USE_IPV6 #ifdefs


Revision 1847 - (view) (download) (annotate) - [select for diffs]
Modified Sat Sep 27 21:53:03 2003 UTC (16 years, 1 month ago) by jason
Original Path: main/sip/resiprocate/os/Socket.hxx
File length: 6094 byte(s)
Diff to previous 1781
change to use shutdown instead of close


Revision 1781 - (view) (download) (annotate) - [select for diffs]
Modified Mon Sep 15 02:49:48 2003 UTC (16 years, 2 months ago) by fluffy
Original Path: main/sip/resiprocate/os/Socket.hxx
File length: 5986 byte(s)
Diff to previous 1746
add assert


Revision 1746 - (view) (download) (annotate) - [select for diffs]
Modified Sun Sep 14 05:25:13 2003 UTC (16 years, 2 months ago) by jason
Original Path: main/sip/resiprocate/os/Socket.hxx
File length: 5790 byte(s)
Diff to previous 1608
moved Tuple out of Transport
added preliminary ipv6 support


Revision 1608 - (view) (download) (annotate) - [select for diffs]
Modified Wed Aug 13 16:49:04 2003 UTC (16 years, 3 months ago) by fluffy
Original Path: main/sip/resiprocate/os/Socket.hxx
File length: 5731 byte(s)
Diff to previous 1468
added call no make blocking


Revision 1468 - (view) (download) (annotate) - [select for diffs]
Modified Mon Jun 2 20:52:32 2003 UTC (16 years, 5 months ago) by ryker
Original Path: main/sip/resiprocate/os/Socket.hxx
File length: 5695 byte(s)
Diff to previous 1371
Fix include guards to avoid macro namespace conflicts.  Some of these
are just style changes to make things consistent across the project.


Revision 1371 - (view) (download) (annotate) - [select for diffs]
Modified Sun Apr 27 00:30:34 2003 UTC (16 years, 6 months ago) by fluffy
Original Path: main/sip/resiprocate/os/Socket.hxx
File length: 5714 byte(s)
Diff to previous 1305
Support for mac


Revision 1305 - (view) (download) (annotate) - [select for diffs]
Modified Tue Mar 25 06:33:48 2003 UTC (16 years, 8 months ago) by jason
Original Path: main/sip/resiprocate/os/Socket.hxx
File length: 5666 byte(s)
Diff to previous 1125
rename namespace to resip


Revision 1125 - (view) (download) (annotate) - [select for diffs]
Modified Sat Jan 25 23:39:10 2003 UTC (16 years, 9 months ago) by fluffy
Original Path: main/sip/resiprocate/os/Socket.hxx
File length: 5669 byte(s)
Diff to previous 1118
fixed to compile in windows.


Revision 1118 - (view) (download) (annotate) - [select for diffs]
Modified Sat Jan 25 03:41:15 2003 UTC (16 years, 10 months ago) by jason
Original Path: main/sip/resiprocate/os/Socket.hxx
File length: 5668 byte(s)
Diff to previous 1016
solaris compat


Revision 1016 - (view) (download) (annotate) - [select for diffs]
Modified Sat Jan 4 04:59:35 2003 UTC (16 years, 10 months ago) by fluffy
Original Path: main/sip/resiprocate/os/Socket.hxx
File length: 5863 byte(s)
Diff to previous 1010
fix bugs to do with error recovery


Revision 1010 - (view) (download) (annotate) - [select for diffs]
Modified Thu Jan 2 23:25:25 2003 UTC (16 years, 10 months ago) by derekm
Original Path: main/sip/resiprocate/os/Socket.hxx
File length: 5863 byte(s)
Diff to previous 992
spelling


Revision 992 - (view) (download) (annotate) - [select for diffs]
Modified Tue Dec 31 18:41:29 2002 UTC (16 years, 10 months ago) by fluffy
Original Path: main/sip/resiprocate/os/Socket.hxx
File length: 5862 byte(s)
Diff to previous 981
changed time signatures


Revision 981 - (view) (download) (annotate) - [select for diffs]
Modified Mon Dec 23 23:53:27 2002 UTC (16 years, 11 months ago) by jason
Original Path: main/sip/resiprocate/os/Socket.hxx
File length: 5841 byte(s)
Diff to previous 918
make members public for async dns


Revision 918 - (view) (download) (annotate) - [select for diffs]
Modified Sat Dec 14 23:16:26 2002 UTC (16 years, 11 months ago) by fluffy
Original Path: main/sip/resiprocate/os/Socket.hxx
File length: 5795 byte(s)
Diff to previous 900
fix compiel warnings


Revision 900 - (view) (download) (annotate) - [select for diffs]
Modified Sat Dec 14 00:53:07 2002 UTC (16 years, 11 months ago) by derekm
Original Path: main/sip/resiprocate/os/Socket.hxx
File length: 5785 byte(s)
Diff to previous 892
more tcp transport fixes--snapshot of a work in progress
changed Executive::process loop to only call process once on the transports

sockets are now made non-blocking after connect, so the connects are
blocking--avoids some book keeping


Revision 892 - (view) (download) (annotate) - [select for diffs]
Modified Fri Dec 13 03:02:54 2002 UTC (16 years, 11 months ago) by derekm
Original Path: main/sip/resiprocate/os/Socket.hxx
File length: 5745 byte(s)
Diff to previous 666
tcpTransport is almost complete
various tests& bug fixes
removed CritLog from preParser


Revision 666 - (view) (download) (annotate) - [select for diffs]
Modified Thu Nov 14 19:50:02 2002 UTC (17 years ago) by fluffy
Original Path: main/sip/resiprocate/os/Socket.hxx
File length: 5744 byte(s)
Diff to previous 616
few windows fixes


Revision 616 - (view) (download) (annotate) - [select for diffs]
Modified Mon Nov 11 22:05:06 2002 UTC (17 years ago) by jason
Original Path: main/sip/resiprocate/os/Socket.hxx
File length: 5701 byte(s)
Diff to previous 537
change #ifndef guards to have Vocal2 prefix to avoid collisions with Vocal1
files


Revision 537 - (view) (download) (annotate) - [select for diffs]
Modified Thu Nov 7 03:07:27 2002 UTC (17 years ago) by jason
Original Path: main/sip/resiprocate/os/Socket.hxx
File length: 5687 byte(s)
Diff to previous 507
moved includes to sip2/


Revision 507 - (view) (download) (annotate) - [select for diffs]
Modified Wed Nov 6 06:54:55 2002 UTC (17 years ago) by fluffy
Original Path: main/sip/resiprocate/os/Socket.hxx
File length: 5681 byte(s)
Diff to previous 504
windows compile updates


Revision 504 - (view) (download) (annotate) - [select for diffs]
Modified Wed Nov 6 06:14:45 2002 UTC (17 years ago) by jason
Original Path: main/sip/resiprocate/os/Socket.hxx
File length: 5645 byte(s)
Diff to previous 457
added FdSet


Revision 457 - (view) (download) (annotate) - [select for diffs]
Modified Tue Nov 5 21:25:43 2002 UTC (17 years ago) by jason
Original Path: main/sip/resiprocate/os/Socket.hxx
File length: 4594 byte(s)
Diff to previous 278
added some sys includes


Revision 278 - (view) (download) (annotate) - [select for diffs]
Modified Sat Oct 5 04:47:57 2002 UTC (17 years, 1 month ago) by fluffy
Original Path: main/sip/resiprocate/os/Socket.hxx
File length: 4477 byte(s)
Diff to previous 236
fixed license statements


Revision 236 - (view) (download) (annotate) - [select for diffs]
Modified Sun Sep 29 23:41:14 2002 UTC (17 years, 1 month ago) by fluffy
Original Path: main/sip/resiprocate/os/Socket.hxx
File length: 2104 byte(s)
Diff to previous 223
changes for Win32


Revision 223 - (view) (download) (annotate) - [select for diffs]
Added Sat Sep 28 04:44:52 2002 UTC (17 years, 1 month ago) by fluffy
Original Path: main/sip/resiprocate/os/Socket.hxx
File length: 2102 byte(s)
added Socket class that is a file descriptor in unix and a SOCKET in windows


This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

webmaster AT resiprocate DOT org
ViewVC Help
Powered by ViewVC 1.1.27