aspose file tools
The moose likes Sockets and Internet Protocols and the fly likes Connection to multiple servers. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "Connection to multiple servers." Watch "Connection to multiple servers." New topic

Connection to multiple servers.

Paul Janzen

Joined: Jul 15, 2014
Posts: 2
HI All,

I have created the code below so I can do a search for a device (see mac address) but there has to be a better way of doing this.

I hope someone can help me with a example?


fred rosenberger
lowercase baba

Joined: Oct 02, 2003
Posts: 11689

Can you tell us what exactly your issue is? What exactly is wrong with this code that you think needs to be improved?

There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors
Paul Janzen

Joined: Jul 15, 2014
Posts: 2
Well for starters it is not very efficient and reusable. I would thought that this could be more of a object kind a way. Not as such a scripting method it is now.

I hope that make sense.

It is sorta covered in the JavaRanch Style Guide.
subject: Connection to multiple servers.