/macosx-10.9.5/ruby-104/ruby/sample/ |
H A D | clnt.rb | 13 s = TCPSocket.open(host, ARGV.shift)
|
H A D | dualstack-fetch.rb | 4 # TCPSocket is using getaddrinfo() internally, so there should be no problem. 39 c = TCPSocket.new(host, port)
|
/macosx-10.9.5/ruby-104/ruby/test/socket/ |
H A D | test_tcp.rb | 17 sock = TCPSocket.open(addr[3], addr[1]) 32 sock = TCPSocket.open(addr[3], addr[1]) 42 end if defined?(TCPSocket)
|
/macosx-10.9.5/ruby-104/ruby/test/webrick/ |
H A D | test_server.rb | 17 TCPSocket.open(addr, port){|sock| 42 TCPSocket.open(addr, port) { |sock| sock << "foo\n" } 63 TCPSocket.open(addr, port){|sock| (sock << "foo\n").gets } 64 TCPSocket.open(addr, port){|sock| (sock << "foo\n").gets } 65 TCPSocket.open(addr, port){|sock| (sock << "foo\n").gets }
|
H A D | test_cgi.rb | 94 sock = TCPSocket.new(addr, port) 115 res = TCPSocket.open(addr, port) {|sock| 129 res = TCPSocket.open(addr, port) {|sock|
|
/macosx-10.9.5/ruby-104/ruby/lib/ |
H A D | resolv-replace.rb | 17 class TCPSocket < IPSocket class 67 class SOCKSSocket < TCPSocket
|
/macosx-10.9.5/ruby-104/ruby/sample/openssl/ |
H A D | echo_cli.rb | 27 s = TCPSocket.new(host, port)
|
/macosx-10.9.5/ruby-104/ruby/test/openssl/ |
H A D | test_ssl_session.rb | 34 sock = TCPSocket.new '127.0.0.1', port 45 sock = TCPSocket.new("127.0.0.1", port) 156 sock = TCPSocket.new("127.0.0.1", port) 242 sock = TCPSocket.new("127.0.0.1", port) 291 sock = TCPSocket.new("127.0.0.1", port) 347 sock = TCPSocket.new("127.0.0.1", port)
|
H A D | test_ssl.rb | 48 sock = TCPSocket.new("127.0.0.1", port) 55 sock = TCPSocket.new("127.0.0.1", port) 112 sock = TCPSocket.new("127.0.0.1", port) 160 sock = TCPSocket.new("127.0.0.1", port) 187 sock = TCPSocket.new("127.0.0.1", port) 206 sock = TCPSocket.new("127.0.0.1", port) 213 sock = TCPSocket.new("127.0.0.1", port) 225 sock = TCPSocket.new("127.0.0.1", port) 241 sock = TCPSocket.new("127.0.0.1", port) 261 sock = TCPSocket [all...] |
H A D | test_pair.rb | 24 s = TCPSocket.new(host, port) 199 sock1 = TCPSocket.new(host, port)
|
/macosx-10.9.5/mDNSResponder-522.92.1/mDNSShared/ |
H A D | dnsextd.h | 112 TCPSocket * sock;
|
H A D | dnsextd.c | 115 TCPSocket *sock; // socket connected to client 238 mDNSlocal mStatus AddSourceToEventLoop( DaemonInfo * self, TCPSocket *sock, EventCallback callback, void *context ) 270 mDNSlocal mStatus RemoveSourceFromEventLoop( DaemonInfo * self, TCPSocket *sock ) 296 mDNSlocal TCPSocket *ConnectToServer(DaemonInfo *d) 305 TCPSocket *sock = mDNSPlatformTCPSocket( NULL, 0, &port, mDNSfalse ); 323 mDNSlocal int MySend(TCPSocket *sock, const void *msg, int len) 351 mDNSlocal int SendPacket(TCPSocket *sock, PktMsg *pkt) 368 static int my_recv(TCPSocket *sock, void *const buf, const int len, mDNSBool * closed) 415 TCPSocket * sock, 910 TCPSocket *soc [all...] |
/macosx-10.9.5/mDNSResponder-522.92.1/mDNSWindows/ |
H A D | mDNSWin32.h | 152 extern mStatus TCPAddSocket( mDNS * const inMDNS, TCPSocket *sock );
|
H A D | mDNSWin32.c | 167 mDNSlocal void TCPCloseSocket( TCPSocket * socket ); 948 TCPSocket * 957 TCPSocket * sock = NULL; 970 sock = (TCPSocket *) malloc( sizeof( TCPSocket ) ); 972 mDNSPlatformMemZero( sock, sizeof( TCPSocket ) ); 1030 TCPSocket * sock, 1086 mDNSexport TCPSocket *mDNSPlatformTCPAccept( TCPSocketFlags flags, int fd ) 1088 TCPSocket * sock = NULL; 1093 sock = malloc( sizeof( TCPSocket ) ); [all...] |
/macosx-10.9.5/ruby-104/ruby/test/net/http/ |
H A D | utils.rb | 71 TCPSocket.open(config('host'), config('port')).close
|
/macosx-10.9.5/mDNSResponder-522.92.1/mDNSMacOS9/ |
H A D | mDNSMacOS9.c | 204 mDNSexport TCPSocket *mDNSPlatformTCPSocket(mDNS * const m, TCPSocketFlags flags, mDNSIPPort * port) 212 mDNSexport TCPSocket *mDNSPlatformTCPAccept(TCPSocketFlags flags, int sd) 219 mDNSexport int mDNSPlatformTCPGetFD(TCPSocket *sock) 225 mDNSexport mStatus mDNSPlatformTCPConnect(TCPSocket *sock, const mDNSAddr * dst, mDNSOpaque16 dstport, mDNSInterfaceID InterfaceID, 237 mDNSexport void mDNSPlatformTCPCloseConnection(TCPSocket *sd) 242 mDNSexport long mDNSPlatformReadTCP(TCPSocket *sock, void *buf, unsigned long buflen, mDNSBool *closed) 251 mDNSexport long mDNSPlatformWriteTCP(TCPSocket *sock, const char *msg, unsigned long len)
|
/macosx-10.9.5/mDNSResponder-522.92.1/mDNSMacOSX/ |
H A D | DNSProxySupport.c | 33 TCPSocket sock; 101 TCPSocket *sock = &ti->sock; 172 // We pass sock for the TCPSocket and the "ti" for context as that's what we want to free at the end. 201 LogMsg("ProxyTCPAccept: cannot allocate TCPSocket"); 206 TCPSocket *sock = &ti->sock; 516 TCPSocket *sock;
|
H A D | mDNSMacOSX.h | 215 TCPSocket TCPProxy;
|
/macosx-10.9.5/mDNSResponder-522.92.1/mDNSWindows/SystemService/ |
H A D | Service.c | 2017 TCPSocket *tcpSock = ( TCPSocket* ) context; 2044 TCPSocket * sock; 2046 sock = malloc( sizeof( TCPSocket ) ); 2048 mDNSPlatformMemZero( sock, sizeof( TCPSocket ) ); 2078 TCPSocket * sock; 2084 sock = ( TCPSocket* ) platform_data; 2118 TCPSocket * sock; 2121 sock = ( TCPSocket* ) platform_data;
|
/macosx-10.9.5/ruby-104/ruby/test/net/ftp/ |
H A D | test_ftp.rb | 331 conn = TCPSocket.new(host, port) 396 conn = TCPSocket.new(host, port) 499 conn = TCPSocket.new(host, port) 554 conn = TCPSocket.new(host, port) 651 conn = TCPSocket.new(host, port)
|
/macosx-10.9.5/ruby-104/ruby/lib/net/ |
H A D | telnet.rb | 23 # socket object (by default, a +TCPSocket+, but can be set by the 347 @sock = TCPSocket.open(@options["Host"], @options["Port"]) 350 @sock = TCPSocket.open(@options["Host"], @options["Port"])
|
/macosx-10.9.5/mDNSResponder-522.92.1/mDNSPosix/ |
H A D | mDNSPosix.c | 319 mDNSexport TCPSocket *mDNSPlatformTCPSocket(mDNS * const m, TCPSocketFlags flags, mDNSIPPort * port, mDNSBool useBackgroundTrafficClass) 328 mDNSexport TCPSocket *mDNSPlatformTCPAccept(TCPSocketFlags flags, int sd) 335 mDNSexport int mDNSPlatformTCPGetFD(TCPSocket *sock) 341 mDNSexport mStatus mDNSPlatformTCPConnect(TCPSocket *sock, const mDNSAddr *dst, mDNSOpaque16 dstport, domainname *hostname, mDNSInterfaceID InterfaceID, 354 mDNSexport void mDNSPlatformTCPCloseConnection(TCPSocket *sock) 359 mDNSexport long mDNSPlatformReadTCP(TCPSocket *sock, void *buf, unsigned long buflen, mDNSBool * closed) 368 mDNSexport long mDNSPlatformWriteTCP(TCPSocket *sock, const char *msg, unsigned long len)
|
/macosx-10.9.5/ruby-104/ruby/lib/webrick/ |
H A D | httpproxy.rb | 154 os = TCPSocket.new(host, port) # origin server
|
/macosx-10.9.5/ruby-104/ruby/test/rexml/ |
H A D | test_sax.rb | 226 socket = TCPSocket.new('127.0.0.1', server.addr[1])
|
/macosx-10.9.5/mDNSResponder-522.92.1/mDNSCore/ |
H A D | mDNSEmbeddedAPI.h | 473 typedef struct TCPSocket_struct TCPSocket; typedef in typeref:struct:TCPSocket_struct 512 TCPSocket *sock; 1235 TCPSocket *sock; 3155 typedef void (*TCPConnectionCallback)(TCPSocket *sock, void *context, mDNSBool ConnectionEstablished, mStatus err); 3156 extern TCPSocket *mDNSPlatformTCPSocket(mDNS *const m, TCPSocketFlags flags, mDNSIPPort *port, mDNSBool useBackgroundTrafficClass); // creates a TCP socket 3157 extern TCPSocket *mDNSPlatformTCPAccept(TCPSocketFlags flags, int sd); 3158 extern int mDNSPlatformTCPGetFD(TCPSocket *sock); 3159 extern mStatus mDNSPlatformTCPConnect(TCPSocket *sock, const mDNSAddr *dst, mDNSOpaque16 dstport, domainname *hostname, 3161 extern void mDNSPlatformTCPCloseConnection(TCPSocket *sock); 3162 extern long mDNSPlatformReadTCP(TCPSocket *soc [all...] |