how to use more wire and wireless interface simultaneously

view story

http://askubuntu.com – When we create any socket, we don't provide device name (like eth0, or wlan0). In my laptop, i have wired interface (eth) and wireless interface (wlan). I want to run one process on each interface simultaneously. Is it possible? let me know if there is any way to do this. I am using ubuntu 12.10. Thanks, vivek (HowTos)