PageRenderTime 79ms queryFilters 1ms Sphinxql 521ms GetByIds 272ms meta 0ms repositoryFilters 31ms languageFilters 9ms sourceFilters 40ms

1,422,939 results for 'socket repo:alvm/geany' (79 ms)

Source

Language

Repository

socket.html https://bitbucket.org/Tank_Master/fs-boost | HTML | 996 lines
26<div class="titlepage"><div><div><h4 class="title">
27<a name="boost_asio.reference.generic__stream_protocol.socket"></a><a class="link" href="socket.html" title="generic::stream_protocol::socket">generic::stream_protocol::socket</a>
28</h4></div></div></div>
450                  <p>
451                    <a class="link" href="../basic_stream_socket/basic_stream_socket.html" title="basic_stream_socket::basic_stream_socket"><span class="bold"><strong>basic_stream_socket</strong></span></a>
452                  </p>
906<a name="boost_asio.reference.generic__stream_protocol.socket.h4"></a>
907          <span class="phrase"><a name="boost_asio.reference.generic__stream_protocol.socket.protected_data_members"></a></span><a class="link" href="socket.html#boost_asio.reference.generic__stream_protocol.socket.protected_data_members">Protected
908          Data Members</a>
956<p>
957          The <a class="link" href="../basic_stream_socket.html" title="basic_stream_socket"><code class="computeroutput"><span class="identifier">basic_stream_socket</span></code></a> class template
958          provides asynchronous and blocking stream-oriented socket functionality.
961<a name="boost_asio.reference.generic__stream_protocol.socket.h5"></a>
962          <span class="phrase"><a name="boost_asio.reference.generic__stream_protocol.socket.thread_safety"></a></span><a class="link" href="socket.html#boost_asio.reference.generic__stream_protocol.socket.thread_safety">Thread
963          Safety</a>
socket.html https://bitbucket.org/Tank_Master/fs-boost | HTML | 993 lines
26<div class="titlepage"><div><div><h4 class="title">
27<a name="boost_asio.reference.generic__raw_protocol.socket"></a><a class="link" href="socket.html" title="generic::raw_protocol::socket">generic::raw_protocol::socket</a>
28</h4></div></div></div>
450                  <p>
451                    <a class="link" href="../basic_raw_socket/basic_raw_socket.html" title="basic_raw_socket::basic_raw_socket"><span class="bold"><strong>basic_raw_socket</strong></span></a>
452                  </p>
903<a name="boost_asio.reference.generic__raw_protocol.socket.h4"></a>
904          <span class="phrase"><a name="boost_asio.reference.generic__raw_protocol.socket.protected_data_members"></a></span><a class="link" href="socket.html#boost_asio.reference.generic__raw_protocol.socket.protected_data_members">Protected
905          Data Members</a>
953<p>
954          The <a class="link" href="../basic_raw_socket.html" title="basic_raw_socket"><code class="computeroutput"><span class="identifier">basic_raw_socket</span></code></a> class template
955          provides asynchronous and blocking raw-oriented socket functionality.
958<a name="boost_asio.reference.generic__raw_protocol.socket.h5"></a>
959          <span class="phrase"><a name="boost_asio.reference.generic__raw_protocol.socket.thread_safety"></a></span><a class="link" href="socket.html#boost_asio.reference.generic__raw_protocol.socket.thread_safety">Thread
960          Safety</a>
socket.html https://bitbucket.org/Tank_Master/fs-boost | HTML | 948 lines
26<div class="titlepage"><div><div><h4 class="title">
27<a name="boost_asio.reference.generic__seq_packet_protocol.socket"></a><a class="link" href="socket.html" title="generic::seq_packet_protocol::socket">generic::seq_packet_protocol::socket</a>
28</h4></div></div></div>
426                  <p>
427                    <a class="link" href="../basic_seq_packet_socket/basic_seq_packet_socket.html" title="basic_seq_packet_socket::basic_seq_packet_socket"><span class="bold"><strong>basic_seq_packet_socket</strong></span></a>
428                  </p>
908<p>
909          The <a class="link" href="../basic_seq_packet_socket.html" title="basic_seq_packet_socket"><code class="computeroutput"><span class="identifier">basic_seq_packet_socket</span></code></a> class
910          template provides asynchronous and blocking sequenced packet socket functionality.
913<a name="boost_asio.reference.generic__seq_packet_protocol.socket.h5"></a>
914          <span class="phrase"><a name="boost_asio.reference.generic__seq_packet_protocol.socket.thread_safety"></a></span><a class="link" href="socket.html#boost_asio.reference.generic__seq_packet_protocol.socket.thread_safety">Thread
915          Safety</a>
924<a name="boost_asio.reference.generic__seq_packet_protocol.socket.h6"></a>
925          <span class="phrase"><a name="boost_asio.reference.generic__seq_packet_protocol.socket.requirements"></a></span><a class="link" href="socket.html#boost_asio.reference.generic__seq_packet_protocol.socket.requirements">Requirements</a>
926        </h6>
socket.html https://bitbucket.org/Tank_Master/fs-boost | HTML | 993 lines
26<div class="titlepage"><div><div><h4 class="title">
27<a name="boost_asio.reference.generic__datagram_protocol.socket"></a><a class="link" href="socket.html" title="generic::datagram_protocol::socket">generic::datagram_protocol::socket</a>
28</h4></div></div></div>
450                  <p>
451                    <a class="link" href="../basic_datagram_socket/basic_datagram_socket.html" title="basic_datagram_socket::basic_datagram_socket"><span class="bold"><strong>basic_datagram_socket</strong></span></a>
452                  </p>
903<a name="boost_asio.reference.generic__datagram_protocol.socket.h4"></a>
904          <span class="phrase"><a name="boost_asio.reference.generic__datagram_protocol.socket.protected_data_members"></a></span><a class="link" href="socket.html#boost_asio.reference.generic__datagram_protocol.socket.protected_data_members">Protected
905          Data Members</a>
953<p>
954          The <a class="link" href="../basic_datagram_socket.html" title="basic_datagram_socket"><code class="computeroutput"><span class="identifier">basic_datagram_socket</span></code></a> class template
955          provides asynchronous and blocking datagram-oriented socket functionality.
958<a name="boost_asio.reference.generic__datagram_protocol.socket.h5"></a>
959          <span class="phrase"><a name="boost_asio.reference.generic__datagram_protocol.socket.thread_safety"></a></span><a class="link" href="socket.html#boost_asio.reference.generic__datagram_protocol.socket.thread_safety">Thread
960          Safety</a>
socket.html https://bitbucket.org/Tank_Master/boost145 | HTML | 866 lines
26<div class="titlepage"><div><div><h4 class="title">
27<a name="boost_asio.reference.local__datagram_protocol.socket"></a><a class="link" href="socket.html" title="local::datagram_protocol::socket">local::datagram_protocol::socket</a>
28</h4></div></div></div>
32        </p>
33<pre class="programlisting"><span class="keyword">typedef</span> <span class="identifier">basic_datagram_socket</span><span class="special">&lt;</span> <span class="identifier">datagram_protocol</span> <span class="special">&gt;</span> <span class="identifier">socket</span><span class="special">;</span>
34</pre>
436                  <p>
437                    <a class="link" href="../basic_datagram_socket/basic_datagram_socket.html" title="basic_datagram_socket::basic_datagram_socket"><span class="bold"><strong>basic_datagram_socket</strong></span></a>
438                  </p>
530                  <p>
531                    <a class="link" href="../basic_datagram_socket/io_control.html" title="basic_datagram_socket::io_control"><span class="bold"><strong>io_control</strong></span></a>
532                  </p>
824<p>
825          The <a class="link" href="../basic_datagram_socket.html" title="basic_datagram_socket"><code class="computeroutput"><span class="identifier">basic_datagram_socket</span></code></a> class template
826          provides asynchronous and blocking datagram-oriented socket functionality.
socket.html https://bitbucket.org/Tank_Master/boost145 | HTML | 868 lines
26<div class="titlepage"><div><div><h4 class="title">
27<a name="boost_asio.reference.ip__tcp.socket"></a><a class="link" href="socket.html" title="ip::tcp::socket">ip::tcp::socket</a>
28</h4></div></div></div>
32        </p>
33<pre class="programlisting"><span class="keyword">typedef</span> <span class="identifier">basic_stream_socket</span><span class="special">&lt;</span> <span class="identifier">tcp</span> <span class="special">&gt;</span> <span class="identifier">socket</span><span class="special">;</span>
34</pre>
436                  <p>
437                    <a class="link" href="../basic_stream_socket/basic_stream_socket.html" title="basic_stream_socket::basic_stream_socket"><span class="bold"><strong>basic_stream_socket</strong></span></a>
438                  </p>
542                  <p>
543                    <a class="link" href="../basic_stream_socket/io_service.html" title="basic_stream_socket::io_service"><span class="bold"><strong>io_service</strong></span></a>
544                  </p>
826<p>
827          The <a class="link" href="../basic_stream_socket.html" title="basic_stream_socket"><code class="computeroutput"><span class="identifier">basic_stream_socket</span></code></a> class template
828          provides asynchronous and blocking stream-oriented socket functionality.
socket.html https://bitbucket.org/Tank_Master/boost145 | HTML | 865 lines
26<div class="titlepage"><div><div><h4 class="title">
27<a name="boost_asio.reference.ip__udp.socket"></a><a class="link" href="socket.html" title="ip::udp::socket">ip::udp::socket</a>
28</h4></div></div></div>
32        </p>
33<pre class="programlisting"><span class="keyword">typedef</span> <span class="identifier">basic_datagram_socket</span><span class="special">&lt;</span> <span class="identifier">udp</span> <span class="special">&gt;</span> <span class="identifier">socket</span><span class="special">;</span>
34</pre>
436                  <p>
437                    <a class="link" href="../basic_datagram_socket/basic_datagram_socket.html" title="basic_datagram_socket::basic_datagram_socket"><span class="bold"><strong>basic_datagram_socket</strong></span></a>
438                  </p>
530                  <p>
531                    <a class="link" href="../basic_datagram_socket/io_control.html" title="basic_datagram_socket::io_control"><span class="bold"><strong>io_control</strong></span></a>
532                  </p>
823<p>
824          The <a class="link" href="../basic_datagram_socket.html" title="basic_datagram_socket"><code class="computeroutput"><span class="identifier">basic_datagram_socket</span></code></a> class template
825          provides asynchronous and blocking datagram-oriented socket functionality.
socket.html https://bitbucket.org/Tank_Master/boost145 | HTML | 869 lines
26<div class="titlepage"><div><div><h4 class="title">
27<a name="boost_asio.reference.local__stream_protocol.socket"></a><a class="link" href="socket.html" title="local::stream_protocol::socket">local::stream_protocol::socket</a>
28</h4></div></div></div>
32        </p>
33<pre class="programlisting"><span class="keyword">typedef</span> <span class="identifier">basic_stream_socket</span><span class="special">&lt;</span> <span class="identifier">stream_protocol</span> <span class="special">&gt;</span> <span class="identifier">socket</span><span class="special">;</span>
34</pre>
436                  <p>
437                    <a class="link" href="../basic_stream_socket/basic_stream_socket.html" title="basic_stream_socket::basic_stream_socket"><span class="bold"><strong>basic_stream_socket</strong></span></a>
438                  </p>
542                  <p>
543                    <a class="link" href="../basic_stream_socket/io_service.html" title="basic_stream_socket::io_service"><span class="bold"><strong>io_service</strong></span></a>
544                  </p>
827<p>
828          The <a class="link" href="../basic_stream_socket.html" title="basic_stream_socket"><code class="computeroutput"><span class="identifier">basic_stream_socket</span></code></a> class template
829          provides asynchronous and blocking stream-oriented socket functionality.
socket.html https://bitbucket.org/Tank_Master/boost145 | HTML | 866 lines
26<div class="titlepage"><div><div><h4 class="title">
27<a name="boost_asio.reference.ip__icmp.socket"></a><a class="link" href="socket.html" title="ip::icmp::socket">ip::icmp::socket</a>
28</h4></div></div></div>
32        </p>
33<pre class="programlisting"><span class="keyword">typedef</span> <span class="identifier">basic_raw_socket</span><span class="special">&lt;</span> <span class="identifier">icmp</span> <span class="special">&gt;</span> <span class="identifier">socket</span><span class="special">;</span>
34</pre>
436                  <p>
437                    <a class="link" href="../basic_raw_socket/basic_raw_socket.html" title="basic_raw_socket::basic_raw_socket"><span class="bold"><strong>basic_raw_socket</strong></span></a>
438                  </p>
530                  <p>
531                    <a class="link" href="../basic_raw_socket/io_control.html" title="basic_raw_socket::io_control"><span class="bold"><strong>io_control</strong></span></a>
532                  </p>
824<p>
825          The <a class="link" href="../basic_raw_socket.html" title="basic_raw_socket"><code class="computeroutput"><span class="identifier">basic_raw_socket</span></code></a> class template
826          provides asynchronous and blocking raw-oriented socket functionality.
socket.py https://bitbucket.org/krisvale/stacklesslib | Python | 975 lines
180    import sys
181    if "socket" in sys.modules and sys.modules["socket"] is not stdsocket:
182        raise RuntimeError("Use 'stacklesssocket.install' instead of replacing the 'socket' module")
184_realsocket_old = stdsocket._realsocket
185_socketobject_old = stdsocket.socket
186
227    stdsocket._realsocket = socket
228    stdsocket.socket = stdsocket.SocketType = stdsocket._socketobject = _socketobject_new
229    if pi is not None:
233    stdsocket._realsocket = _realsocket_old
234    stdsocket.socket = stdsocket.SocketType = stdsocket._socketobject = _socketobject_old
235
299        def handle_connect_event(self):
300            err = self.socket.getsockopt(stdsocket.SOL_SOCKET, stdsocket.SO_ERROR)
301            if err != 0:
socket.html https://bitbucket.org/Arkaniad/3p-boost | HTML | 990 lines
26<div class="titlepage"><div><div><h4 class="title">
27<a name="boost_asio.reference.ip__tcp.socket"></a><a class="link" href="socket.html" title="ip::tcp::socket">ip::tcp::socket</a>
28</h4></div></div></div>
449                  <p>
450                    <a class="link" href="../basic_stream_socket/basic_stream_socket.html" title="basic_stream_socket::basic_stream_socket"><span class="bold"><strong>basic_stream_socket</strong></span></a>
451                  </p>
897<a name="boost_asio.reference.ip__tcp.socket.h4"></a>
898          <span><a name="boost_asio.reference.ip__tcp.socket.protected_data_members"></a></span><a class="link" href="socket.html#boost_asio.reference.ip__tcp.socket.protected_data_members">Protected
899          Data Members</a>
947<p>
948          The <a class="link" href="../basic_stream_socket.html" title="basic_stream_socket"><code class="computeroutput"><span class="identifier">basic_stream_socket</span></code></a> class template
949          provides asynchronous and blocking stream-oriented socket functionality.
952<a name="boost_asio.reference.ip__tcp.socket.h5"></a>
953          <span><a name="boost_asio.reference.ip__tcp.socket.thread_safety"></a></span><a class="link" href="socket.html#boost_asio.reference.ip__tcp.socket.thread_safety">Thread
954          Safety</a>
socket.html https://bitbucket.org/ArminW/3p-boost | HTML | 990 lines
26<div class="titlepage"><div><div><h4 class="title">
27<a name="boost_asio.reference.ip__tcp.socket"></a><a class="link" href="socket.html" title="ip::tcp::socket">ip::tcp::socket</a>
28</h4></div></div></div>
449                  <p>
450                    <a class="link" href="../basic_stream_socket/basic_stream_socket.html" title="basic_stream_socket::basic_stream_socket"><span class="bold"><strong>basic_stream_socket</strong></span></a>
451                  </p>
897<a name="boost_asio.reference.ip__tcp.socket.h4"></a>
898          <span><a name="boost_asio.reference.ip__tcp.socket.protected_data_members"></a></span><a class="link" href="socket.html#boost_asio.reference.ip__tcp.socket.protected_data_members">Protected
899          Data Members</a>
947<p>
948          The <a class="link" href="../basic_stream_socket.html" title="basic_stream_socket"><code class="computeroutput"><span class="identifier">basic_stream_socket</span></code></a> class template
949          provides asynchronous and blocking stream-oriented socket functionality.
952<a name="boost_asio.reference.ip__tcp.socket.h5"></a>
953          <span><a name="boost_asio.reference.ip__tcp.socket.thread_safety"></a></span><a class="link" href="socket.html#boost_asio.reference.ip__tcp.socket.thread_safety">Thread
954          Safety</a>
socket.rb https://bitbucket.org/hengestone/whip | Ruby | 717 lines
23    # @example
24    #   if (socket = Socket.new(context.pointer, XS::REQ))
25    #     ...
64    #   begin
65    #     socket = Socket.new(context.pointer, XS::REQ)
66    #   rescue ContextError => e
87        @socket = LibXS.xs_socket context_ptr, type
88        if @socket && !@socket.null?
89          @name = SocketTypeNameMap[type]
90        else
91          raise ContextError.new 'xs_socket', 0, ETERM, "Socket pointer was null"
92        end
343    #
344    # @param endpoint_id (endpoint id returned from socket.bind/socket.connect)
345    #
socket.html https://bitbucket.org/kokua/3p-boost | HTML | 990 lines
26<div class="titlepage"><div><div><h4 class="title">
27<a name="boost_asio.reference.ip__tcp.socket"></a><a class="link" href="socket.html" title="ip::tcp::socket">ip::tcp::socket</a>
28</h4></div></div></div>
449                  <p>
450                    <a class="link" href="../basic_stream_socket/basic_stream_socket.html" title="basic_stream_socket::basic_stream_socket"><span class="bold"><strong>basic_stream_socket</strong></span></a>
451                  </p>
897<a name="boost_asio.reference.ip__tcp.socket.h4"></a>
898          <span><a name="boost_asio.reference.ip__tcp.socket.protected_data_members"></a></span><a class="link" href="socket.html#boost_asio.reference.ip__tcp.socket.protected_data_members">Protected
899          Data Members</a>
947<p>
948          The <a class="link" href="../basic_stream_socket.html" title="basic_stream_socket"><code class="computeroutput"><span class="identifier">basic_stream_socket</span></code></a> class template
949          provides asynchronous and blocking stream-oriented socket functionality.
952<a name="boost_asio.reference.ip__tcp.socket.h5"></a>
953          <span><a name="boost_asio.reference.ip__tcp.socket.thread_safety"></a></span><a class="link" href="socket.html#boost_asio.reference.ip__tcp.socket.thread_safety">Thread
954          Safety</a>
socket.html https://bitbucket.org/NickyP/3p-boost | HTML | 990 lines
26<div class="titlepage"><div><div><h4 class="title">
27<a name="boost_asio.reference.ip__tcp.socket"></a><a class="link" href="socket.html" title="ip::tcp::socket">ip::tcp::socket</a>
28</h4></div></div></div>
449                  <p>
450                    <a class="link" href="../basic_stream_socket/basic_stream_socket.html" title="basic_stream_socket::basic_stream_socket"><span class="bold"><strong>basic_stream_socket</strong></span></a>
451                  </p>
897<a name="boost_asio.reference.ip__tcp.socket.h4"></a>
898          <span><a name="boost_asio.reference.ip__tcp.socket.protected_data_members"></a></span><a class="link" href="socket.html#boost_asio.reference.ip__tcp.socket.protected_data_members">Protected
899          Data Members</a>
947<p>
948          The <a class="link" href="../basic_stream_socket.html" title="basic_stream_socket"><code class="computeroutput"><span class="identifier">basic_stream_socket</span></code></a> class template
949          provides asynchronous and blocking stream-oriented socket functionality.
952<a name="boost_asio.reference.ip__tcp.socket.h5"></a>
953          <span><a name="boost_asio.reference.ip__tcp.socket.thread_safety"></a></span><a class="link" href="socket.html#boost_asio.reference.ip__tcp.socket.thread_safety">Thread
954          Safety</a>
socket.py https://bitbucket.org/incubaid/pylabs-core-6.0 | Python | 355 lines
75    def new(cls):
76        return cls(_socket.socket(_socket.AF_INET, _socket.SOCK_STREAM))
77
94    @classmethod
95    def from_file_descriptor(cls, fd, socket_family = _socket.AF_UNIX, socket_type = _socket.SOCK_STREAM, socket_state = STATE_INIT):
96        return cls(_socket.fromfd(fd, socket_family, socket_type), socket_state)
121    def set_reuse_address(self, reuse_address):
122        self.socket.setsockopt(_socket.SOL_SOCKET, _socket.SO_REUSEADDR, int(reuse_address))
123
127    def set_recv_buffer_size(self, n):
128        self.socket.setsockopt(_socket.SOL_SOCKET, _socket.SO_RCVBUF, n)
129
255
256    def read_socket(self, socket_class = None, socket_family =  _socket.AF_INET, socket_type = _socket.SOCK_STREAM, socket_state = STATE_INIT, timeout = TIMEOUT_CURRENT):
257        """reads a socket from this socket"""
socket.rst https://bitbucket.org/yomgui/cpython | Unknown | 1,543 lines
1335   PORT = 50007              # Arbitrary non-privileged port
1336   s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
1337   s.bind((HOST, PORT))
1353   PORT = 50007              # The same port as used by the server
1354   s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
1355   s.connect((HOST, PORT))
1443   # create a raw socket and bind it to the public interface
1444   s = socket.socket(socket.AF_INET, socket.SOCK_RAW, socket.IPPROTO_IP)
1445   s.bind((HOST, 0))
1462
1463    socket.socket(socket.AF_CAN, socket.SOCK_DGRAM, socket.CAN_BCM)
1464
1490   # create a raw socket and bind it to the 'vcan0' interface
1491   s = socket.socket(socket.AF_CAN, socket.SOCK_RAW, socket.CAN_RAW)
1492   s.bind(('vcan0',))
socket.py https://bitbucket.org/yomgui/cpython | Python | 737 lines
11
12socket() -- create a new socket object
13socketpair() -- create a pair of new socket objects [*]
122
123class socket(_socket.socket):
124
459
460if hasattr(_socket, "socketpair"):
461
462    def socketpair(family=None, type=SOCK_STREAM, proto=0):
463        """socketpair([family[, type[, proto]]]) -> (socket object, socket object)
464
519
520socketpair.__doc__ = """socketpair([family[, type[, proto]]]) -> (socket object, socket object)
521Create a pair of socket objects from the sockets returned by the platform
socket.rst https://bitbucket.org/mstefanro/pickle4 | Unknown | 1,431 lines
1222   PORT = 50007              # Arbitrary non-privileged port
1223   s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
1224   s.bind((HOST, PORT))
1240   PORT = 50007              # The same port as used by the server
1241   s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
1242   s.connect((HOST, PORT))
1330   # create a raw socket and bind it to the public interface
1331   s = socket.socket(socket.AF_INET, socket.SOCK_RAW, socket.IPPROTO_IP)
1332   s.bind((HOST, 0))
1349
1350    socket.socket(socket.AF_CAN, socket.SOCK_DGRAM, socket.CAN_BCM)
1351
1377   # create a raw socket and bind it to the 'vcan0' interface
1378   s = socket.socket(socket.AF_CAN, socket.SOCK_RAW, socket.CAN_RAW)
1379   s.bind(('vcan0',))
socket.h https://bitbucket.org/hbhzwj/imalse | C++ Header | 710 lines
45/**
46 * \brief A low-level Socket API based loosely on the BSD Socket API.
47 * \ingroup socket
105   */
106  static Ptr<Socket> CreateSocket (Ptr<Node> node, TypeId tid);
107  /**
115    */
116  virtual enum Socket::SocketType GetSocketType (void) const = 0;
117  /**
596   * For IP_PKTINFO/IP6_PKTINFO. This method is only usable for 
597   * Raw socket and Datagram Socket. Not supported for Stream socket.
598   *
619  bool NotifyConnectionRequest (const Address &from);
620  void NotifyNewConnectionCreated (Ptr<Socket> socket, const Address &from);
621  void NotifyDataSent (uint32_t size);
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21