Wireless Connection

I am needing help with my project and I wondering if you guys can help.

I need some form of TCP/UDP communication set up between my BeagleBone Black and my laptop.
I am wondering if I can set up some form of local network through a wireless router connected to my laptop so that my laptop and the BeagleBone Black can have some form of TCP/UDP connection with each other. I have a wireless USB adapter connected to the BeagleBone Black so that it can connect to wireless networks.

An alternative would be to connect my router to the BeagleBone Black and set up a local network (without connecting to the internet). Then I can make my laptop connect to the local network and have some form of tcp communication with the BeagleBone Black.

Usage: Robotics competition where I have an application running in a laptop which is trying to send commands to a robot which is about 50-70 feet away wirelessly.