PageRenderTime 17ms queryFilters 0ms Sphinxql 69ms app.CodeModel.GetByIds 12ms findMatchingLines 71ms GetByIds 84ms meta 0ms repositoryFilters 11ms languageFilters 7ms sourceFilters 6ms

626,242 results for 'socket repo:neuromantic/CodeJS' (17 ms)

Source

Language

Repository

FGOutputSocket.cpp https://bitbucket.org/agodemar/jsbsim.git | C++ | 391 lines
84
85FGOutputSocket::FGOutputSocket(FGFDMExec* fdmex, int idx, int subSystems,
86                               std::string protocol, std::string Port,
101
102FGOutputSocket::~FGOutputSocket()
103{
249    delete socket;
250    socket = new FGfdmSocket(Name, port, Protocol);
251    InitModel();
260  port = atoi(Port.c_str());
261  socket = new FGfdmSocket(Name, port, Protocol);
262  InitModel();
379
380void FGOutputSocket::SocketStatusOutput(const string& out_str)
381{
socket-methods.lisp https://bitbucket.org/sionescu/iolib.git | Lisp | 590 lines
27
28(defmethod socket-os-fd ((socket socket))
29  (fd-of socket))
61
62(defmethod socket-type ((socket stream-socket))
63  :stream)
64
65(defmethod socket-type ((socket datagram-socket))
66  :datagram)
175
176(defmethod socket-open-p ((socket socket))
177  (if (null (fd-of socket))
376
377(defmethod socket-connected-p ((socket socket))
378  (if (fd-of socket)
make-socket.lisp https://bitbucket.org/sionescu/iolib.git | Lisp | 424 lines
70
71(defmacro define-socket-creator ((socket-family socket-type &optional socket-connect)
72                                 (family protocol key &rest parameters) &body body)
81    (let* ((parameter-names (mapcar #'arg-name parameters))
82           (first-level-function (make-first-level-name socket-family socket-type socket-connect))
83           (second-level-function (format-symbol t "%~A" first-level-function)))
149                          local-host local-port backlog)
150  (with-close-on-error (socket (%create-internet-socket family :stream protocol
151                                                        :connect :passive
338(defmacro with-accept-connection ((var passive-socket &rest args) &body body)
339  "Bind VAR to a socket created by passing PASSIVE-SOCKET and ARGS to ACCEPT-CONNECTION and execute BODY as implicit PROGN.
340The socket is automatically closed upon exit."
359         (%get-type (fd)
360           (eswitch ((get-socket-option-int fd sol-socket so-type) :test #'=)
361             (sock-stream :stream)
ExternalResourceReleasable.html https://bitbucket.org/EthanLevine/senior-design.git | HTML | 608 lines
109<td class="colLast">
110<div class="block">An HTTP-based client-side <a href="../../../../../org/jboss/netty/channel/socket/SocketChannel.html" title="interface in org.jboss.netty.channel.socket"><code>SocketChannel</code></a>
111 and its corresponding server-side Servlet implementation that make your
339<td class="colFirst"><code>class&nbsp;</code></td>
340<td class="colLast"><code><strong><a href="../../../../../org/jboss/netty/channel/socket/http/HttpTunnelingClientSocketChannelFactory.html" title="class in org.jboss.netty.channel.socket.http">HttpTunnelingClientSocketChannelFactory</a></strong></code>
341<div class="block">Creates a client-side <a href="../../../../../org/jboss/netty/channel/socket/SocketChannel.html" title="interface in org.jboss.netty.channel.socket"><code>SocketChannel</code></a> which connects to an
415<td class="colFirst"><code>class&nbsp;</code></td>
416<td class="colLast"><code><strong><a href="../../../../../org/jboss/netty/channel/socket/oio/OioClientSocketChannelFactory.html" title="class in org.jboss.netty.channel.socket.oio">OioClientSocketChannelFactory</a></strong></code>
417<div class="block">A <a href="../../../../../org/jboss/netty/channel/socket/ClientSocketChannelFactory.html" title="interface in org.jboss.netty.channel.socket"><code>ClientSocketChannelFactory</code></a> which creates a client-side blocking
417<div class="block">A <a href="../../../../../org/jboss/netty/channel/socket/ClientSocketChannelFactory.html" title="interface in org.jboss.netty.channel.socket"><code>ClientSocketChannelFactory</code></a> which creates a client-side blocking
418 I/O based <a href="../../../../../org/jboss/netty/channel/socket/SocketChannel.html" title="interface in org.jboss.netty.channel.socket"><code>SocketChannel</code></a>.</div>
419</td>
430<td class="colLast"><code><strong><a href="../../../../../org/jboss/netty/channel/socket/oio/OioServerSocketChannelFactory.html" title="class in org.jboss.netty.channel.socket.oio">OioServerSocketChannelFactory</a></strong></code>
431<div class="block">A <a href="../../../../../org/jboss/netty/channel/socket/ServerSocketChannelFactory.html" title="interface in org.jboss.netty.channel.socket"><code>ServerSocketChannelFactory</code></a> which creates a server-side blocking
432 I/O based <a href="../../../../../org/jboss/netty/channel/socket/ServerSocketChannel.html" title="interface in org.jboss.netty.channel.socket"><code>ServerSocketChannel</code></a>.</div>
package-use.html https://bitbucket.org/EthanLevine/senior-design.git | HTML | 341 lines
146<div class="block">A TCP/IP socket <a href="../../../../../org/jboss/netty/channel/Channel.html" title="interface in org.jboss.netty.channel"><code>Channel</code></a> which was either accepted by
147 <a href="../../../../../org/jboss/netty/channel/socket/ServerSocketChannel.html" title="interface in org.jboss.netty.channel.socket"><code>ServerSocketChannel</code></a> or created by <a href="../../../../../org/jboss/netty/channel/socket/ClientSocketChannelFactory.html" title="interface in org.jboss.netty.channel.socket"><code>ClientSocketChannelFactory</code></a>.</div>
148</td>
174<div class="block">A TCP/IP socket <a href="../../../../../org/jboss/netty/channel/Channel.html" title="interface in org.jboss.netty.channel"><code>Channel</code></a> which was either accepted by
175 <a href="../../../../../org/jboss/netty/channel/socket/ServerSocketChannel.html" title="interface in org.jboss.netty.channel.socket"><code>ServerSocketChannel</code></a> or created by <a href="../../../../../org/jboss/netty/channel/socket/ClientSocketChannelFactory.html" title="interface in org.jboss.netty.channel.socket"><code>ClientSocketChannelFactory</code></a>.</div>
176</td>
189<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing classes, and an explanation">
190<caption><span>Classes in <a href="../../../../../org/jboss/netty/channel/socket/package-summary.html">org.jboss.netty.channel.socket</a> used by <a href="../../../../../org/jboss/netty/channel/socket/nio/package-summary.html">org.jboss.netty.channel.socket.nio</a></span><span class="tabEnd">&nbsp;</span></caption>
191<tr>
232<div class="block">A TCP/IP socket <a href="../../../../../org/jboss/netty/channel/Channel.html" title="interface in org.jboss.netty.channel"><code>Channel</code></a> which was either accepted by
233 <a href="../../../../../org/jboss/netty/channel/socket/ServerSocketChannel.html" title="interface in org.jboss.netty.channel.socket"><code>ServerSocketChannel</code></a> or created by <a href="../../../../../org/jboss/netty/channel/socket/ClientSocketChannelFactory.html" title="interface in org.jboss.netty.channel.socket"><code>ClientSocketChannelFactory</code></a>.</div>
234</td>
285<div class="block">A TCP/IP socket <a href="../../../../../org/jboss/netty/channel/Channel.html" title="interface in org.jboss.netty.channel"><code>Channel</code></a> which was either accepted by
286 <a href="../../../../../org/jboss/netty/channel/socket/ServerSocketChannel.html" title="interface in org.jboss.netty.channel.socket"><code>ServerSocketChannel</code></a> or created by <a href="../../../../../org/jboss/netty/channel/socket/ClientSocketChannelFactory.html" title="interface in org.jboss.netty.channel.socket"><code>ClientSocketChannelFactory</code></a>.</div>
287</td>
DefaultSocketChannelConfig.html https://bitbucket.org/EthanLevine/senior-design.git | HTML | 651 lines
147<tr class="altColor">
148<td class="colOne"><code><strong><a href="../../../../../org/jboss/netty/channel/socket/DefaultSocketChannelConfig.html#DefaultSocketChannelConfig(java.net.Socket)">DefaultSocketChannelConfig</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/net/Socket.html?is-external=true" title="class or interface in java.net">Socket</a>&nbsp;socket)</code>
149<div class="block">Creates a new instance.</div>
364<dt><strong>Specified by:</strong></dt>
365<dd><code><a href="../../../../../org/jboss/netty/channel/socket/SocketChannelConfig.html#getReceiveBufferSize()">getReceiveBufferSize</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/jboss/netty/channel/socket/SocketChannelConfig.html" title="interface in org.jboss.netty.channel.socket">SocketChannelConfig</a></code></dd>
366</dl>
409<dt><strong>Specified by:</strong></dt>
410<dd><code><a href="../../../../../org/jboss/netty/channel/socket/SocketChannelConfig.html#getTrafficClass()">getTrafficClass</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/jboss/netty/channel/socket/SocketChannelConfig.html" title="interface in org.jboss.netty.channel.socket">SocketChannelConfig</a></code></dd>
411</dl>
469<dt><strong>Specified by:</strong></dt>
470<dd><code><a href="../../../../../org/jboss/netty/channel/socket/SocketChannelConfig.html#setKeepAlive(boolean)">setKeepAlive</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/jboss/netty/channel/socket/SocketChannelConfig.html" title="interface in org.jboss.netty.channel.socket">SocketChannelConfig</a></code></dd>
471</dl>
532<dt><strong>Specified by:</strong></dt>
533<dd><code><a href="../../../../../org/jboss/netty/channel/socket/SocketChannelConfig.html#setSendBufferSize(int)">setSendBufferSize</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/jboss/netty/channel/socket/SocketChannelConfig.html" title="interface in org.jboss.netty.channel.socket">SocketChannelConfig</a></code></dd>
534</dl>
DefaultDatagramChannelConfig.html https://bitbucket.org/EthanLevine/senior-design.git | HTML | 819 lines
64<li><a href="../../../../../org/jboss/netty/channel/socket/DatagramChannelFactory.html" title="interface in org.jboss.netty.channel.socket"><span class="strong">Prev Class</span></a></li>
65<li><a href="../../../../../org/jboss/netty/channel/socket/DefaultServerSocketChannelConfig.html" title="class in org.jboss.netty.channel.socket"><span class="strong">Next Class</span></a></li>
66</ul>
154<tr class="altColor">
155<td class="colOne"><code><strong><a href="../../../../../org/jboss/netty/channel/socket/DefaultDatagramChannelConfig.html#DefaultDatagramChannelConfig(java.net.DatagramSocket)">DefaultDatagramChannelConfig</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/net/DatagramSocket.html?is-external=true" title="class or interface in java.net">DatagramSocket</a>&nbsp;socket)</code>
156<div class="block">Creates a new instance.</div>
596<dt><strong>Specified by:</strong></dt>
597<dd><code><a href="../../../../../org/jboss/netty/channel/socket/DatagramChannelConfig.html#getSendBufferSize()">getSendBufferSize</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/jboss/netty/channel/socket/DatagramChannelConfig.html" title="interface in org.jboss.netty.channel.socket">DatagramChannelConfig</a></code></dd>
598</dl>
611<dt><strong>Specified by:</strong></dt>
612<dd><code><a href="../../../../../org/jboss/netty/channel/socket/DatagramChannelConfig.html#setSendBufferSize(int)">setSendBufferSize</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/jboss/netty/channel/socket/DatagramChannelConfig.html" title="interface in org.jboss.netty.channel.socket">DatagramChannelConfig</a></code></dd>
613</dl>
776<li><a href="../../../../../org/jboss/netty/channel/socket/DatagramChannelFactory.html" title="interface in org.jboss.netty.channel.socket"><span class="strong">Prev Class</span></a></li>
777<li><a href="../../../../../org/jboss/netty/channel/socket/DefaultServerSocketChannelConfig.html" title="class in org.jboss.netty.channel.socket"><span class="strong">Next Class</span></a></li>
778</ul>
package-tree.html https://bitbucket.org/EthanLevine/senior-design.git | HTML | 176 lines
80<li type="circle">org.jboss.netty.channel.socket.nio.<a href="../../../../../../org/jboss/netty/channel/socket/nio/NioDatagramChannel.html" title="class in org.jboss.netty.channel.socket.nio"><span class="strong">NioDatagramChannel</span></a> (implements org.jboss.netty.channel.socket.<a href="../../../../../../org/jboss/netty/channel/socket/DatagramChannel.html" title="interface in org.jboss.netty.channel.socket">DatagramChannel</a>)</li>
81<li type="circle">org.jboss.netty.channel.socket.nio.<a href="../../../../../../org/jboss/netty/channel/socket/nio/NioSocketChannel.html" title="class in org.jboss.netty.channel.socket.nio"><span class="strong">NioSocketChannel</span></a> (implements org.jboss.netty.channel.socket.<a href="../../../../../../org/jboss/netty/channel/socket/SocketChannel.html" title="interface in org.jboss.netty.channel.socket">SocketChannel</a>)</li>
82</ul>
94</li>
95<li type="circle">org.jboss.netty.channel.socket.nio.<a href="../../../../../../org/jboss/netty/channel/socket/nio/NioClientSocketChannelFactory.html" title="class in org.jboss.netty.channel.socket.nio"><span class="strong">NioClientSocketChannelFactory</span></a> (implements org.jboss.netty.channel.socket.<a href="../../../../../../org/jboss/netty/channel/socket/ClientSocketChannelFactory.html" title="interface in org.jboss.netty.channel.socket">ClientSocketChannelFactory</a>)</li>
96<li type="circle">org.jboss.netty.channel.socket.nio.<a href="../../../../../../org/jboss/netty/channel/socket/nio/NioDatagramChannelFactory.html" title="class in org.jboss.netty.channel.socket.nio"><span class="strong">NioDatagramChannelFactory</span></a> (implements org.jboss.netty.channel.socket.<a href="../../../../../../org/jboss/netty/channel/socket/DatagramChannelFactory.html" title="interface in org.jboss.netty.channel.socket">DatagramChannelFactory</a>)</li>
97<li type="circle">org.jboss.netty.channel.socket.nio.<a href="../../../../../../org/jboss/netty/channel/socket/nio/NioDatagramWorker.html" title="class in org.jboss.netty.channel.socket.nio"><span class="strong">NioDatagramWorker</span></a></li>
98<li type="circle">org.jboss.netty.channel.socket.nio.<a href="../../../../../../org/jboss/netty/channel/socket/nio/NioServerSocketChannelFactory.html" title="class in org.jboss.netty.channel.socket.nio"><span class="strong">NioServerSocketChannelFactory</span></a> (implements org.jboss.netty.channel.socket.<a href="../../../../../../org/jboss/netty/channel/socket/ServerSocketChannelFactory.html" title="interface in org.jboss.netty.channel.socket">ServerSocketChannelFactory</a>)</li>
99<li type="circle">org.jboss.netty.channel.socket.nio.<a href="../../../../../../org/jboss/netty/channel/socket/nio/NioWorker.html" title="class in org.jboss.netty.channel.socket.nio"><span class="strong">NioWorker</span></a></li>
115<li type="circle">org.jboss.netty.channel.socket.nio.<a href="../../../../../../org/jboss/netty/channel/socket/nio/NioDatagramChannelConfig.html" title="interface in org.jboss.netty.channel.socket.nio"><span class="strong">NioDatagramChannelConfig</span></a> (also extends org.jboss.netty.channel.socket.<a href="../../../../../../org/jboss/netty/channel/socket/DatagramChannelConfig.html" title="interface in org.jboss.netty.channel.socket">DatagramChannelConfig</a>)</li>
116<li type="circle">org.jboss.netty.channel.socket.nio.<a href="../../../../../../org/jboss/netty/channel/socket/nio/NioSocketChannelConfig.html" title="interface in org.jboss.netty.channel.socket.nio"><span class="strong">NioSocketChannelConfig</span></a> (also extends org.jboss.netty.channel.socket.<a href="../../../../../../org/jboss/netty/channel/socket/SocketChannelConfig.html" title="interface in org.jboss.netty.channel.socket">SocketChannelConfig</a>)</li>
117</ul>
120<ul>
121<li type="circle">org.jboss.netty.channel.socket.nio.<a href="../../../../../../org/jboss/netty/channel/socket/nio/NioSocketChannelConfig.html" title="interface in org.jboss.netty.channel.socket.nio"><span class="strong">NioSocketChannelConfig</span></a> (also extends org.jboss.netty.channel.socket.nio.<a href="../../../../../../org/jboss/netty/channel/socket/nio/NioChannelConfig.html" title="interface in org.jboss.netty.channel.socket.nio">NioChannelConfig</a>)</li>
122</ul>
NioDatagramChannelFactory.html https://bitbucket.org/EthanLevine/senior-design.git | HTML | 508 lines
205<tr class="altColor">
206<td class="colOne"><code><strong><a href="../../../../../../org/jboss/netty/channel/socket/nio/NioDatagramChannelFactory.html#NioDatagramChannelFactory(org.jboss.netty.channel.socket.nio.WorkerPool)">NioDatagramChannelFactory</a></strong>(<a href="../../../../../../org/jboss/netty/channel/socket/nio/WorkerPool.html" title="interface in org.jboss.netty.channel.socket.nio">WorkerPool</a>&lt;<a href="../../../../../../org/jboss/netty/channel/socket/nio/NioDatagramWorker.html" title="class in org.jboss.netty.channel.socket.nio">NioDatagramWorker</a>&gt;&nbsp;workerPool)</code>
207<div class="block">Creates a new instance.</div>
210<tr class="rowColor">
211<td class="colOne"><code><strong><a href="../../../../../../org/jboss/netty/channel/socket/nio/NioDatagramChannelFactory.html#NioDatagramChannelFactory(org.jboss.netty.channel.socket.nio.WorkerPool, org.jboss.netty.channel.socket.InternetProtocolFamily)">NioDatagramChannelFactory</a></strong>(<a href="../../../../../../org/jboss/netty/channel/socket/nio/WorkerPool.html" title="interface in org.jboss.netty.channel.socket.nio">WorkerPool</a>&lt;<a href="../../../../../../org/jboss/netty/channel/socket/nio/NioDatagramWorker.html" title="class in org.jboss.netty.channel.socket.nio">NioDatagramWorker</a>&gt;&nbsp;workerPool,
212                         <a href="../../../../../../org/jboss/netty/channel/socket/InternetProtocolFamily.html" title="enum in org.jboss.netty.channel.socket">InternetProtocolFamily</a>&nbsp;family)</code>
338 Use <a href="../../../../../../org/jboss/netty/channel/socket/nio/NioDatagramChannelFactory.html#NioDatagramChannelFactory(org.jboss.netty.channel.socket.nio.WorkerPool, org.jboss.netty.channel.socket.InternetProtocolFamily)"><code>NioDatagramChannelFactory(WorkerPool, InternetProtocolFamily)</code></a> if unsure.</div>
339<dl><dt><span class="strong">Parameters:</span></dt><dd><code>workerPool</code> - the <a href="../../../../../../org/jboss/netty/channel/socket/nio/WorkerPool.html" title="interface in org.jboss.netty.channel.socket.nio"><code>WorkerPool</code></a> which will be used to obtain the <a href="../../../../../../org/jboss/netty/channel/socket/nio/NioDatagramWorker.html" title="class in org.jboss.netty.channel.socket.nio"><code>NioDatagramWorker</code></a> that execute
340 the I/O worker threads</dd></dl>
378<h4>NioDatagramChannelFactory</h4>
379<pre>public&nbsp;NioDatagramChannelFactory(<a href="../../../../../../org/jboss/netty/channel/socket/nio/WorkerPool.html" title="interface in org.jboss.netty.channel.socket.nio">WorkerPool</a>&lt;<a href="../../../../../../org/jboss/netty/channel/socket/nio/NioDatagramWorker.html" title="class in org.jboss.netty.channel.socket.nio">NioDatagramWorker</a>&gt;&nbsp;workerPool,
380                         <a href="../../../../../../org/jboss/netty/channel/socket/InternetProtocolFamily.html" title="enum in org.jboss.netty.channel.socket">InternetProtocolFamily</a>&nbsp;family)</pre>
381<div class="block">Creates a new instance.</div>
382<dl><dt><span class="strong">Parameters:</span></dt><dd><code>workerPool</code> - the <a href="../../../../../../org/jboss/netty/channel/socket/nio/WorkerPool.html" title="interface in org.jboss.netty.channel.socket.nio"><code>WorkerPool</code></a> which will be used to obtain the <a href="../../../../../../org/jboss/netty/channel/socket/Worker.html" title="interface in org.jboss.netty.channel.socket"><code>Worker</code></a> that execute
383        the I/O worker threads</dd><dd><code>family</code> - the <a href="../../../../../../org/jboss/netty/channel/socket/InternetProtocolFamily.html" title="enum in org.jboss.netty.channel.socket"><code>InternetProtocolFamily</code></a> to use. This should be used for UDP multicast.
ChannelFactory.html https://bitbucket.org/EthanLevine/senior-design.git | HTML | 542 lines
109<td class="colLast">
110<div class="block">An HTTP-based client-side <a href="../../../../../org/jboss/netty/channel/socket/SocketChannel.html" title="interface in org.jboss.netty.channel.socket"><code>SocketChannel</code></a>
111 and its corresponding server-side Servlet implementation that make your
369<td class="colFirst"><code>class&nbsp;</code></td>
370<td class="colLast"><code><strong><a href="../../../../../org/jboss/netty/channel/socket/http/HttpTunnelingClientSocketChannelFactory.html" title="class in org.jboss.netty.channel.socket.http">HttpTunnelingClientSocketChannelFactory</a></strong></code>
371<div class="block">Creates a client-side <a href="../../../../../org/jboss/netty/channel/socket/SocketChannel.html" title="interface in org.jboss.netty.channel.socket"><code>SocketChannel</code></a> which connects to an
386<td class="colFirst"><code>protected <a href="../../../../../org/jboss/netty/channel/ChannelFactory.html" title="interface in org.jboss.netty.channel">ChannelFactory</a></code></td>
387<td class="colLast"><span class="strong">HttpTunnelingServlet.</span><code><strong><a href="../../../../../org/jboss/netty/channel/socket/http/HttpTunnelingServlet.html#createChannelFactory(java.net.SocketAddress)">createChannelFactory</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/net/SocketAddress.html?is-external=true" title="class or interface in java.net">SocketAddress</a>&nbsp;remoteAddress)</code>&nbsp;</td>
388</tr>
445<tr class="altColor">
446<td class="colLast"><code><strong><a href="../../../../../org/jboss/netty/channel/socket/nio/NioSocketChannel.html#NioSocketChannel(org.jboss.netty.channel.Channel, org.jboss.netty.channel.ChannelFactory, org.jboss.netty.channel.ChannelPipeline, org.jboss.netty.channel.ChannelSink, java.nio.channels.SocketChannel, org.jboss.netty.channel.socket.nio.NioWorker)">NioSocketChannel</a></strong>(<a href="../../../../../org/jboss/netty/channel/Channel.html" title="interface in org.jboss.netty.channel">Channel</a>&nbsp;parent,
447                <a href="../../../../../org/jboss/netty/channel/ChannelFactory.html" title="interface in org.jboss.netty.channel">ChannelFactory</a>&nbsp;factory,
468<td class="colFirst"><code>class&nbsp;</code></td>
469<td class="colLast"><code><strong><a href="../../../../../org/jboss/netty/channel/socket/oio/OioClientSocketChannelFactory.html" title="class in org.jboss.netty.channel.socket.oio">OioClientSocketChannelFactory</a></strong></code>
470<div class="block">A <a href="../../../../../org/jboss/netty/channel/socket/ClientSocketChannelFactory.html" title="interface in org.jboss.netty.channel.socket"><code>ClientSocketChannelFactory</code></a> which creates a client-side blocking
blcksock.pas https://bitbucket.org/bsquared/fpctwit-git.git | Pascal | 4,352 lines
675    {:This function is for check for incoming data on set of sockets. Whitch
676    sockets is checked is decribed by SocketList Tlist with TBlockSocket
677    objects. TList may have maximal number of objects defined by FD_SETSIZE
725     on TCP socket)}
726    property Socket: TSocket read FSocket write SetSocket;
727
849     Ipv4, IPv6 or automatic mode)}
850    property OnCreateSocket: THookCreateSocket read FOnCreateSocket write FOnCreateSocket;
851
1856    FIP6Used := Sin.AddressFamily = AF_INET6;
1857    FSocket := synsock.Socket(integer(Sin.AddressFamily), GetSocketType, GetSocketProtocol);
1858    if FSocket = INVALID_SOCKET then
3040
3041procedure TBlockSocket.SetSocket(Value: TSocket);
3042begin
socket.c https://bitbucket.org/zarboz/villez-htc-2.40-linux-3.0.51.git | C | 3,406 lines
1/*
2 * NET		An implementation of the SOCKET network access protocol.
3 *
29 *					allowed to allocate.
30 *		Linus		:	Argh. removed all the socket allocation
31 *					altogether: it's in the inode now.
279{
280	struct socket_alloc *ei = (struct socket_alloc *)foo;
281
1227		if (net_ratelimit())
1228			printk(KERN_WARNING "socket: no more sockets\n");
1229		return -ENFILE;	/* Not exactly a match, but its the
3287
3288int kernel_accept(struct socket *sock, struct socket **newsock, int flags)
3289{
socket.c https://bitbucket.org/zarboz/evilz.213.blackout_edition.git | C | 3,400 lines
1/*
2 * NET		An implementation of the SOCKET network access protocol.
3 *
29 *					allowed to allocate.
30 *		Linus		:	Argh. removed all the socket allocation
31 *					altogether: it's in the inode now.
278{
279	struct socket_alloc *ei = (struct socket_alloc *)foo;
280
1221		if (net_ratelimit())
1222			printk(KERN_WARNING "socket: no more sockets\n");
1223		return -ENFILE;	/* Not exactly a match, but its the
3281
3282int kernel_accept(struct socket *sock, struct socket **newsock, int flags)
3283{
Socket.java https://bitbucket.org/codefirex/libcore.git | Java | 989 lines
277    /**
278     * Creates an unconnected socket with the given socket implementation.
279     *
284     */
285    protected Socket(SocketImpl impl) throws SocketException {
286        this.impl = impl;
906    /**
907     * Sets this socket's {@link SocketOptions#IP_TOS} value for every packet sent by this socket.
908     */
917    /**
918     * Returns this socket's {@see SocketOptions#IP_TOS} setting.
919     */
953    /**
954     * Returns this socket's {@code SocketChannel}, if one exists. A channel is
955     * available only if this socket wraps a channel. (That is, you can go from a
socket.c https://bitbucket.org/teamblackout/vivo-blackout-edition.git | C | 3,404 lines
1/*
2 * NET		An implementation of the SOCKET network access protocol.
3 *
29 *					allowed to allocate.
30 *		Linus		:	Argh. removed all the socket allocation
31 *					altogether: it's in the inode now.
278{
279	struct socket_alloc *ei = (struct socket_alloc *)foo;
280
1224		if (net_ratelimit())
1225			printk(KERN_WARNING "socket: no more sockets\n");
1226		return -ENFILE;	/* Not exactly a match, but its the
3286
3287int kernel_accept(struct socket *sock, struct socket **newsock, int flags)
3288{
socket.c https://bitbucket.org/sp4rda/source-ville.git | C | 3,433 lines
1/*
2 * NET		An implementation of the SOCKET network access protocol.
3 *
29 *					allowed to allocate.
30 *		Linus		:	Argh. removed all the socket allocation
31 *					altogether: it's in the inode now.
282{
283	struct socket_alloc *ei = (struct socket_alloc *)foo;
284
1255		if (net_ratelimit())
1256			printk(KERN_WARNING "socket: no more sockets\n");
1257		return -ENFILE;	/* Not exactly a match, but its the
3315
3316int kernel_accept(struct socket *sock, struct socket **newsock, int flags)
3317{
socket.c https://bitbucket.org/zarboz/ville-upstream-test-branch.git | C | 3,386 lines
1/*
2 * NET		An implementation of the SOCKET network access protocol.
3 *
29 *					allowed to allocate.
30 *		Linus		:	Argh. removed all the socket allocation
31 *					altogether: it's in the inode now.
278{
279	struct socket_alloc *ei = (struct socket_alloc *)foo;
280
1217		if (net_ratelimit())
1218			printk(KERN_WARNING "socket: no more sockets\n");
1219		return -ENFILE;	/* Not exactly a match, but its the
3267
3268int kernel_accept(struct socket *sock, struct socket **newsock, int flags)
3269{
winnet.c https://bitbucket.org/roumao/putty.git | C | 1,827 lines
31 * abstract, Socket no longer means a tcp socket (it could mean
32 * an ssl socket).  So now we must use Actual_Socket when we know
33 * we are talking about a tcp socket.
34 */
35typedef struct Socket_tag *Actual_Socket;
36
123{
124    Actual_Socket a = (Actual_Socket) av, b = (Actual_Socket) bv;
125    unsigned long as = (unsigned long) a->s, bs = (unsigned long) b->s;
417      case WSAENOTSOCK:
418	return "Network error: Socket operation on non-socket";
419      case WSAEOPNOTSUPP:
1781
1782extern int socket_writable(SOCKET skt)
1783{
socket.c https://bitbucket.org/altlc/wive-rtnl-ralink-rt305x-routers-firmware-amod.git | C | 2,310 lines
1/*
2 * NET		An implementation of the SOCKET network access protocol.
3 *
29 *					allowed to allocate.
30 *		Linus		:	Argh. removed all the socket allocation
31 *					altogether: it's in the inode now.
261{
262	struct socket_alloc *ei = (struct socket_alloc *)foo;
263
1085		if (net_ratelimit())
1086			printk(KERN_WARNING "socket: no more sockets\n");
1087		return -ENFILE;	/* Not exactly a match, but its the
2182
2183int kernel_accept(struct socket *sock, struct socket **newsock, int flags)
2184{
socket.c https://bitbucket.org/altlc/wive-rtnl-ralink-rt305x-routers-firmware-amod.git | C | 1,747 lines
1/*
2 * net/tipc/socket.c: TIPC socket API
3 *
1340
1341static int accept(struct socket *sock, struct socket *newsock, int flags)
1342{
1623
1624static int no_skpair(struct socket *s1, struct socket *s2)
1625{
1708/**
1709 * tipc_socket_init - initialize TIPC socket interface
1710 *
1735/**
1736 * tipc_socket_stop - stop TIPC socket interface
1737 */
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21