You probably are a bit confused:
RJ45[
^] is network connector, i.e. a piece of hardware.
You probably need to write a network application (that is some code).
Google is your friend, try searching for
TCP
client/server tutorials for your favourite platform.