代码搜索:如何学习 socket?
找到约 10,000 项符合「如何学习 socket?」的源代码
代码结果 10,000
www.eeworm.com/read/147331/5731079
h socket.h
/*
* Copyright (c) 1982, 1985, 1986, 1988, 1993, 1994
* The Regents of the University of California. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
*
www.eeworm.com/read/145471/5745877
h socket.h
#ifndef _LINUX_SOCKET_H
#define _LINUX_SOCKET_H
#include /* the SIOCxxx I/O controls */
struct sockaddr {
unsigned short sa_family; /* address family, AF_xxx */
char sa_dat
www.eeworm.com/read/144216/5751958
h socket.h
// sys/socket.h
// djl
// Provide UNIX compatibility
#ifndef _INC_SYS_SOCKET
#define _INC_SYS_SOCKET
#ifdef __cplusplus
extern "C" {
#endif
#define WIN32_LEAN_AND_MEAN
#ifdef __GNUC__
# define
www.eeworm.com/read/144216/5752149
pm socket.pm
# IO::Socket.pm
#
# Copyright (c) 1997-8 Graham Barr . All rights reserved.
# This program is free software; you can redistribute it and/or
# modify it under the same terms as Perl it
www.eeworm.com/read/144216/5752193
pm socket.pm
package Socket;
our($VERSION, @ISA, @EXPORT, @EXPORT_OK, %EXPORT_TAGS);
$VERSION = "1.72";
=head1 NAME
Socket, sockaddr_in, sockaddr_un, inet_aton, inet_ntoa - load the C socket.h defines and struc
www.eeworm.com/read/144216/5752194
xs socket.xs
#define PERL_NO_GET_CONTEXT
#include "EXTERN.h"
#include "perl.h"
#include "XSUB.h"
#ifndef VMS
# ifdef I_SYS_TYPES
# include
# endif
# include
# if defined(USE_SOCKS) &
www.eeworm.com/read/144216/5752407
t socket.t
#!./perl
BEGIN {
chdir 't' if -d 't';
@INC = '../lib';
require Config; import Config;
if ($Config{'extensions'} !~ /\bSocket\b/ &&
!(($^O eq 'VMS') && $Config{d_socket})) {
www.eeworm.com/read/143132/5758676
c socket.c
/* Application programming interface routines - based loosely on the
* "socket" model in Berkeley UNIX.
*/
#include
#ifdef __STDC__
#include
#endif
#include
#i
www.eeworm.com/read/143132/5758696
h socket.h
#ifndef _SOCKET_H
#define _SOCKET_H
#ifndef _GLOBAL_H
#include "global.h"
#endif
#include
#ifndef _MBUF_H
#include "mbuf.h"
#endif
#ifndef _PROC_H
#include "proc.h"
#endi
www.eeworm.com/read/141295/5774067
c socket.c
/* Redefinition of the open system call, so that we can mark it
* as non-blocking and asynchronous */
#include
#include
#include
#include
int __w