代码搜索:AF_INET
找到约 1,347 项符合「AF_INET」的源代码
代码结果 1,347
www.eeworm.com/read/260616/4329571
cpp sender.cpp
///////////////////////////////////
// sender.cpp文件
#include "initsock.h"
#include "stdio.h"
#include
CInitSock theSock;
void main()
{
SOCKET s = ::socket(AF_INET, SOCK_DGRA
www.eeworm.com/read/101724/15821401
txt 本地监听.txt
UINT ListenThread(LPVOID lparam)
{
CTestDlg *pDlg=(CTestDlg *)lparam;
struct sockaddr_in sin;
pDlg->sServer = socket(AF_INET,SOCK_STREAM,IPPROTO_TCP);
if(pDlg->sServer==INVAL
www.eeworm.com/read/354246/10374205
py heart.py
#!/usr/bin/python
from socket import *
import struct
import time
if __name__ == "__main__":
socket = socket(AF_INET , SOCK_STREAM)
socket.connect(("10.1.2.41",11630))
ls_xml = '''
www.eeworm.com/read/453908/7403896
c remot-proxy.c
#include "remote-proxy.h"
/*********************UDP PART*****************************/
int create_udp(udp_t *udp,int port)
{
if((udp->fd= socket(AF_INET,SOCK_DGRAM,0)) < 0)
{
return -1;
www.eeworm.com/read/487308/6518989
c client.c
#include "sockcom.h"
int initSocket(char *rhost) {
int sockfd;
struct sockaddr_in server;
struct hostent *hp, *gethostbyname();
sockfd = socket(AF_INET, SOCK_STREAM, 0);
if (sockfd
www.eeworm.com/read/340478/12155035
c client.c
#include "sockcom.h"
int initSocket(char *rhost) {
int sockfd;
struct sockaddr_in server;
struct hostent *hp, *gethostbyname();
sockfd = socket(AF_INET, SOCK_STREAM, 0);
if (sockfd
www.eeworm.com/read/246537/4493999
h icmpd.h
#include "unpicmpd.h"
struct client {
int connfd; /* Unix domain stream socket to client */
int family; /* AF_INET or AF_INET6 */
int lport; /* local port bound to client's UDP socket */
www.eeworm.com/read/216781/4888446
h icmpd.h
#include "unpicmpd.h"
struct client {
int connfd; /* Unix domain stream socket to client */
int family; /* AF_INET or AF_INET6 */
int lport; /* local port bound to client's UDP socket */
www.eeworm.com/read/198916/5081119
h icmpd.h
#include "unpicmpd.h"
struct client {
int connfd; /* Unix domain stream socket to client */
int family; /* AF_INET or AF_INET6 */
int lport; /* local port bound to client's UDP socket */
www.eeworm.com/read/290808/3971263
h icmpd.h
#include "unpicmpd.h"
struct client {
int connfd; /* Unix domain stream socket to client */
int family; /* AF_INET or AF_INET6 */
int lport; /* local port bound to client's UDP socket */