Unresolved typeref token in VS2005

March 16, 2010

Links:
1. http://www.codeguru.com/forum/showthread.php?t=478336

2. http://www.dotnet247.com/247reference/msgs/1/7811.aspx

The compiler warning message:

warning LNK4248: unresolved typeref token (01000015) for ‘pcap’; image may not run

The solution:
Add the following line in one of the header file:

struct pcap {};

Disable deprecation warnings in VS2005

March 16, 2010

From http://exold.com/article/secret-switch-to-disable-deprecation

When using Visual Studio 2005, you’ll get compiler warnings if you use the unsafe versions of various string functions (strcpy, strcat, et al.). The docs say you can disable the warnings by defining _CRT_SECURE_NO_DEPRECATE. The docs lie. You need to define both _CRT_SECURE_NO_DEPRECATE and _CRT_NONSTDC_NO_DEPRECATE

A few links on Service Location Protocol (SLP)

November 8, 2009

OpenSLP homepage

RFC2608 – Service Location Protocol, Version 2

RFC2614 – An API for Service Location

Some links on The Internet Protocol Suite

November 8, 2009

IPv4 – Wikipedia

IPv6 – Wikipedia

ICMP – Wikipedia

ICMPv6 – Wikipedia

UDP – Wikipedia

Ethernet – Wikipedia

List of IP protocol numbers – Wikipedia

6to4 – Wikipedia

DHCP – Wikipedia

DHCP Options Supported by Clients – Microsoft Support

ICMPv6 Router Advertisement and Router Solicitation Messages – The TCP/IP Guide

ICMPv6 Informational Message Options – The TCP/IP Guide

IPv6 Autoconfiguration and Renumbering – The TCP/IP Guide

ICMP type 3, Destination unreachable message

RFC3736 – Stateless Dynamic Host Configuration Protocol (DHCP)

IPv6 Stateless Address Autoconfiguration

IPv6 configuration methods – Windows XP Professional Product Documentation

More links on retrieving network information

November 8, 2009

IPv6 neighbor discovery

icmpv6.c – Dump ICMPv6 information

WLAN Scan with NDIS Miniport and Much More

SSID using Visual C++

Getting ARP information

Retrieve SSID, the C++ way

September 30, 2009

SSID using visual c++ – CodeGuru Forums http://bit.ly/YsEdl

CodeProject: Getting Information from WMI in Visual C++. Free source code and programming help http://bit.ly/IuEO8

CodeProject: Making WMI Queries In C++. Free source code and programming help http://bit.ly/L0EKD

Developers cannot create wireless client programs that manage wireless profiles and connections over the Wireless Zero Configuration service in Microsoft Windows XP Service Pack 2 (SP2) http://bit.ly/qse1L

WlanScan Function (MSDN) http://bit.ly/gaVpc

CodeProject: WLAN Scan with NDIS Miniport and Much More. Free source code and programming help http://bit.ly/LXVQe –> downloaded the src code already, please have a look!

Can probably use these to determine the active network adapter

September 27, 2009

GetInterfaceInfo Function (MSDN) http://bit.ly/1J0y9

GetAdaptersInfo Function (MSDN) http://bit.ly/39TT9M

The futile attempt at creating network sniffer using RAW socket

September 27, 2009

CodeProject: Sniffing using Winsock. Free source code and programming help http://bit.ly/M0al1

sockaddr (MSDN) http://bit.ly/b5GYy

WSASocket Function (MSDN) http://bit.ly/jQwtY

The totally unhelpful Windows Sockets Error Codes (MSDN) http://bit.ly/hQwf3

SIO_RCVALL Control Code (MSDN) http://bit.ly/3mz5gU –> can’t find working example/explanation for IPv6

SIO_RCVALL CAN NOT SET WITH ERROR 10022 http://bit.ly/XOeEg –>
followed the tip, but still can’t get it to work on IPv6

WSAIoctl Function (MSDN) http://bit.ly/PmCnd

Sniffing packets for local machine only : sio_rcvall (Experts Exchange) http://bit.ly/bBOxz

rohitab.com – Forums Packet Sniffer http://bit.ly/qxAYO

recvfrom Function (MSDN) http://bit.ly/18lTGg –> managed to get it working on IPv4, but not IPv6

WSARecvFrom Function (MSDN) http://bit.ly/eYp5T –> same shite, not working for IPv6

Links concerning IPv6 and ICMPv6

September 27, 2009

Internet Control Message Protocol version 6 (ICMPv6) Type Numbers http://bit.ly/NWBjv

XP系统下IPv6 recvfrom()接收不到数据问题!恳求指教! http://bit.ly/233Zir –> some forum discussion on using Winsock RAW socket to receive IPv6 pings

IPv6 ping in windows…problem..lots of ode:( http://bit.ly/1920ue –> problem not resolved, but there might be interesting stuff here

Icmp6SendEcho2 Function (Windows) http://bit.ly/HvfoU –> no example :S

Microsoft Win32 Programmer Networks Get IPv6 header from raw IPv6 socket? http://bit.ly/GUvae –> as usual, no closure to the discussion

ping program for IPV6 and IpV4 [Archive] – DevMaster.net Forums http://bit.ly/2E6zWJ –> another unanswered question

Socket programming in IPv6? – C++ http://bit.ly/w9dzq –> example is Linux-based

IPv6 neighbor discovery – PacketLife.net http://bit.ly/xZNbO

Koders Code Search: icmpv6.c – C – GPL http://bit.ly/TqxLp

Links concerning Winsock RAW sockets

September 27, 2009

Winsock Programmer’s FAQ: Ping: Raw Sockets Method http://bit.ly/Jx5No

ICMP programming example (Linux) http://bit.ly/14aGAN

TCP/IP Raw Sockets (Windows) http://bit.ly/bGCEg –> MSDN

The RAW socket C programming for Windows network (Winsock) environment http://bit.ly/42SLRx


Follow

Get every new post delivered to your Inbox.