Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
WSvns.h
Package: SwordOnline.rar [view]
Upload User: dzyhzl
Upload Date: 2019-04-29
Package Size: 56270k
Code Size: 1k
Category:
Game Server Simulator
Development Platform:
C/C++
- /*******************************************************************************
- *
- * wsvns.h
- *
- * Copyright (C) Microsoft Corporation, 1992-1999.
- *
- * Windows Sockets include file for VINES IP. This file contains all
- * standardized VINES IP information. Include this header file after
- * winsock.h.
- *
- * To open an VINES IP socket, call socket() with an address family of
- * AF_BAN, a socket type of SOCK_DGRAM, SOCK_STREAM, or SOCK_SEQPACKET,
- * and protocol of 0.
- *
- ******************************************************************************/
- #ifndef _WSVNS_
- #define _WSVNS_
- #if _MSC_VER > 1000
- #pragma once
- #endif
- /*
- * Socket address, VINES IP style. Address fields and port field are defined
- * as a sequence of bytes. This is done because they are byte ordered
- * BIG ENDIAN, ala most significant byte first.
- */
- typedef struct sockaddr_vns {
- u_short sin_family; // = AF_BAN
- u_char net_address[4]; // network address
- u_char subnet_addr[2]; // subnet address
- u_char port[2]; // msb=port[0], lsb=port[1]
- u_char hops; // # hops for broadcasts
- u_char filler[5]; // filler, zeros
- } SOCKADDR_VNS, *PSOCKADDR_VNS, FAR *LPSOCKADDR_VNS;
- #define VNSPROTO_IPC 1
- #define VNSPROTO_RELIABLE_IPC 2
- #define VNSPROTO_SPP 3
- #endif _WSVNS_