What do you mean by connecting to a POS?
Point of Sale I assume.
I don't know a lot about POS devices, but I imagine the protocol used to connect
to machine varies between vendor? i.e. you would need a resource adapter
that knows about the vendor's implementation.
I have developed a general TCP/IP Socket Resource Adaptor.
I can send you the source code if you want.
If you want more info, contact me vial mail.