-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This is not a issues, could set a localAddress when do CreateSocket() in options #20
Comments
Hi Stephenwvickers, I find a way for clear my problem. Thank you. Peter |
Thanks for the update. |
Hello, Let interfaceName is 'eth1:1', but it will show 'Error: No such device'. How to fix it problem ? Thanks |
Hi sky37042 You looks used a vlan interface. Peter |
HI, It is unclear to me what the problem is - I don't understand where you provide Can you provide example code that emits the issue, and how you run the code? Thanks Steve |
Hi Stephenwvickers,
Thank you for your great project. It really help our project.
I have a problem when I use node-raw-socket.
I need assign localAddress in socket's header before send or listen the localAddress.
Because my eth0 have 2 or more ip4 address.
I want raw-socket can specific a ip from eth0's ip4 group.
if raw-socket can add a option like:
var options = {
addressFamily: raw.AddressFamily.IPv4,
protocol: raw.Protocol.None,
bufferSize: 4096,
generateChecksums: false,
checksumOffset: 0
localAddress: '192.168.0.1'
};
if have localAddress
raw-socket will listen only for localAddress and send socket use the localAddress in socket header.
Thank you so much
Peter
The text was updated successfully, but these errors were encountered: