chat application which is decentralized
I am new into Visual Basic .net programming, migrating from old Visual Basic 6. I am also new into socket programming in overall, and I am in need of some help, and don't know where else to go.
I am trying to build a chat application which is decentralized. That means, I cannot use a server to actually rely on IP address forwarding. The problem I am having is that, while trying to develop an application that works as both server and client at the same time (which seemed to me as the most logical approach), it won't establish the connection, not even in a LAN (where, by using my wifi router, and providing the local ip address it *should* actually work).
I don't know what to do, nor have any idea how to solve my problem. If I am wrong at any of the things I wrote (which I am almost sure I have to be, otherwise the application will work), then please feel free to correct me / point me to the right direction.
Any help will be very much appreciated. Thanks for your time.
How can we know what you did wrong when we don't know what you did?