Author | Message |
---|---|
dgonz
Posts: 16
|
Posted 16:13 Oct 12, 2018 |
So our chat project is done but we cannot figure out how to display the peer's listening port for our List function. Anyone else having this issue? We can't simply call a method from our socket object to display the listening port so I'm wondering if we need to find a work around. Our project is written in Python by the way. |
zilongye
Posts: 8
|
Posted 17:06 Oct 12, 2018 |
Whenever you accept a connection request and make a new connection socket, you need to store them in an array. Eventually, when you "list", just print out all those connection sockets in that array. |