|
Description
RtClientFilter can be used in conjunction with the RtxTcpServer and client samples. RtxTcpServer must be run on the same machine on which the RtClientFilter RTDLL was registered and enabled. RtClientFilter filters UDP frames received on the machine where RtClientFilter is running. The server sample must run on the default port for the sample 9999, with the default data size.
Client sample considerations:
/filter
option. RtClientFilter considerations:
/filter
option.RtClientFilter will also print the following messages to the server window as it performs its functions:
NOTE: RtClientFilter and RtxTcpServer must be run in User Datagram Protocol (UDP) for the filter to work.
Source Files
RtClientFilter project source files:
RtClientFilter.c
contains the DllMain
for the
RtClientFilter RtDLL functions. RtClientFilterFuncs.c
contains the following functions: RtndReceiveFilter
reads the frame & determines if it will be sent or dropped. RtndTransmitFilter
is called when the stack wants to transmit a frame. RtndUpDownFilter
is called when the stack requires that the driver start (or stop) a particular NIC card. RtndIoctlFilter
is called when the stack requires that the driver configure certain NIC modes or characteristics. RtndConfigurationFilter
is called for each instance of the driver when the driver should configure the NIC hardware. Building the Sample
Running the sample
Run the server on the Network Interface Card (NIC) associated with the filter. Run the client on any NIC on the same Subnet Mask (RTX or Windows) as the server NIC.
Remarks
The RtClientFilter library can be built as a Win32 DLL or an RtDLL.
APIs Referenced
RTAPI |
Real Time Network APIs |
See Also