代码搜索:AF_INET
找到约 1,347 项符合「AF_INET」的源代码
代码结果 1,347
www.eeworm.com/read/146316/12659196
c ifconfig.c
/* ifconfig
*
* Similar to the standard Unix ifconfig, but with only the necessary
* parts for AF_INET, and without any printing of if info (for now).
*
* Bjorn Wesen, Axis Communications AB
*
www.eeworm.com/read/135153/5887909
c route.c
/* route
*
* Similar to the standard Unix route, but with only the necessary
* parts for AF_INET and AF_INET6
*
* Bjorn Wesen, Axis Communications AB
*
* Author of the original route:
*
www.eeworm.com/read/242732/4541281
c snew.c
#include "syshdrs.h"
int
SNewStreamClient(void)
{
int sfd;
sfd = socket(AF_INET, SOCK_STREAM, 0);
if (sfd < 0)
return kSNewFailed;
return (sfd);
} /* SNewStreamClient */
www.eeworm.com/read/438718/1823097
py socketse.py
"""Generic socket server classes.
This module tries to capture the various aspects of defining a server:
- address family:
- AF_INET: IP (Internet Protocol) sockets (default)
- AF_UN
www.eeworm.com/read/409921/2223817
c snew.c
#include "syshdrs.h"
int
SNewStreamClient(void)
{
int sfd;
sfd = socket(AF_INET, SOCK_STREAM, 0);
if (sfd < 0)
return kSNewFailed;
return (sfd);
} /* SNewStreamClient */
www.eeworm.com/read/237174/13972547
c ifconfig_main.c
/* vi: set sw=4 ts=4: */
/* ifconfig
*
* Similar to the standard Unix ifconfig, but with only the necessary
* parts for AF_INET, and without any printing of if info (for now).
*
* Bjorn Wesen, Ax
www.eeworm.com/read/193974/5138112
py socketserver.py
"""Generic socket server classes.
This module tries to capture the various aspects of defining a server:
For socket-based servers:
- address family:
- AF_INET{,6}: IP (Internet Protocol) so
www.eeworm.com/read/177765/5320952
cpp sender.cpp
/////////////////////////////////////////
// sender.cpp文件
#include "initsock.h"
#include "stdio.h"
#include
CInitSock theSock;
void main()
{
SOCKET s = ::socket(AF_INET, SOC
www.eeworm.com/read/429159/8816119
txt linux网络编程基础(一).txt
Linux网络编程基础(一)
初等网络函数介绍(TCP)及示例程序
1、socket
int socket(int domain, int type,int protocol)
domain:说明我们网络程序所在的主机采用的通讯协族(AF_UNIX和AF_INET等). AF_UNIX只能够用于单一的Unix系统进程间通信,而AF_INET是针对
www.eeworm.com/read/181164/9271906
h wysockaddrinet4.h
/* Copyright is licensed under GNU LGPL. by I.J.Wang 2003
WySockAddrINet4 deals with the IPv4 address (AF_INET)
Note: Class is not decided to be inherited
Note: construction no