Take the 2-minute tour ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free, no registration required.

Is it possible for an application to request a socket (tcp) and have it set the source address without using raw sockets? (the addresses would be bound to the interfaces. [no spoofing]). This would be a tcp client connection, not bind()ing to a specified address.

share|improve this question
    
yes- but it requires a bind to interface. Shouldn't this be on stackoverflow? –  tMC Oct 3 '12 at 20:36
    
@tMC - not necessarily. There's no code (for example). I know it's not essential for Stack Overflow questions to have code, but that's certainly one vote against it being migrated. –  ChrisF Oct 12 '12 at 15:42
add comment

1 Answer 1

up vote 1 down vote accepted

No, it is not possible without bind or raw sockets.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.