examples for Socket::BindToNetDevice()

This commit is contained in:
Antti Mäkelä
2009-12-15 21:07:22 -08:00
parent c9c33ec8f5
commit de21686fd7
4 changed files with 460 additions and 0 deletions

8
examples/socket/wscript Normal file
View File

@@ -0,0 +1,8 @@
## -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*-
def build(bld):
obj = bld.create_ns3_program('socket-bound-static-routing', ['node', 'csma', 'internet-stack'])
obj.source = 'socket-bound-static-routing.cc'
obj = bld.create_ns3_program('socket-bound-tcp-static-routing', ['node', 'csma', 'internet-stack'])
obj.source = 'socket-bound-tcp-static-routing.cc'