Logo white

Hu Chunming / vpt_ascend_arm

Sign in
  • Sign in
  • Project
  • Files
  • Commits
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • vpt_ascend_arm
  • 3rdparty
  • gb28181_3rd
  • jrtplib-3.11.2
  • tools
  • ipv6test.cpp
  • 28181 三方库
    5792f910
    Hu Chunming authored
    2024-04-12 17:11:08 +0800  
    Browse Code »
ipv6test.cpp 350 Bytes
Edit Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
#ifdef RTP_SOCKETTYPE_WINSOCK
	#include <winsock2.h>	
	#include <ws2tcpip.h>
	#ifndef _WIN32_WCE
		#include <sys/types.h>
	#endif // !_WIN32_WCE
#else 
	#include <sys/types.h>
	#include <sys/socket.h>
	#include <netinet/in.h>
#endif // RTP_SOCKETTYPE_WINSOCK

int main(void)
{
	struct sockaddr_in6 addr;

	addr.sin6_family = PF_INET6;

	return 0;
}