To explain what I would like to get, here s an example. Let s say, we have a PC with one NIC. It has single IP address 172.16.0.1. Using VLC, we start a udp stream to 172.16.0.1:1234, then launch another copy of VLC and connect to udp://@172.16.0.1:1234. Now we ll see our video streaming.
如果你开刀,你将看到包裹从172.16.0.1: some_random_port to 172.16.0.1:1234 on loopback。 我国的NIC中没有任何疏漏。
我想做的是,像VLC所做的那样,将计算机输入和接收。 但是,主要问题是,花cap只能是一根真正的装置,它会背弃。
能否解决这一问题?
P.S. I m 采用Windows和WinPcap,不同于Loplin版本,可以发送包装单。