# TCP/IP socket connection with python

**URL:** <https://forum.visualcomponents.com/t/tcp-ip-socket-connection-with-python/189>\
**Category:** Python Programming\
**Created:** [April 19, 2017, 6:03pm UTC](https://forum.visualcomponents.com/t/tcp-ip-socket-connection-with-python/189 "2017-04-19T18:03:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![j\_snow](https://forum.visualcomponents.com/user_avatar/forum.visualcomponents.com/j_snow/32/1091_2.png) [@j\_snow](https://forum.visualcomponents.com/u/j_snow)\
**Post date:** [April 19, 2017, 6:03pm UTC](https://forum.visualcomponents.com/t/tcp-ip-socket-connection-with-python/189/1 "2017-04-19T18:03:19Z")

</div>

Hi,

Here is an example of TCP/IP socket connection using python. We using non-blocking mode of socket connection which needs to be implemented via try-except method. All necessary codes and components attached here by.

-Sicario

&nbsp;

[168\_TCP\_IP-Socket-Example.zip](https://forum.visualcomponents.com/uploads/short-url/1H3qf8hwCLLuXKayk7zK4uGRu3V.zip) (1.26 MB)
