[resolved] use tSocketInput, tSocketOutput with another application is possible?

Highlighted
One Star

[resolved] use tSocketInput, tSocketOutput with another application is possible?

I want to send data by tcp/ip in C#.
I create c# Server and wait client for accepting.
And I make talend job, tSocketOutput.
I think that when tSocketOutput connect my c# Server, my Server writer data to tSocketOutput on networkstream.
But tSocketOutput was disconnected before my c# server send the data.
Is working tSocketInput with only tSocketOutput?

Accepted Solutions
One Star

Re: [resolved] use tSocketInput, tSocketOutput with another application is possible?

This issue is my mistake.
tSocketOutput send data to server.
So I have to read data on networkstream but I try to write data.
This issue is not problem. Just my mistake.

All Replies
Four Stars

Re: [resolved] use tSocketInput, tSocketOutput with another application is possible?

Hi,
Have you checked the scenario ? - https://help.talend.com/pages/viewpage.action?pageId=19427666#Raa34439.
Vaibhav
One Star

Re: [resolved] use tSocketInput, tSocketOutput with another application is possible?

Hi,
Have you checked the scenario ? - https://help.talend.com/pages/viewpage.action?pageId=19427666#Raa34439.
Vaibhav

I tested like that scenario.
According scenario it's working.
But I want know is it possible between tSocketOutput and C# Socket Server Program.
1. Run talend job with tSocketOutput
2. tSocketOutput connect to C# Socket Server Program
3. C# Socket Server Program send data to tSocketOutput
4. tSocketOutput receive data and do next process.
When I test this process, tSocketOutput connect successfully to C# Server. But tSocketOutput disconnect the connection before C# Server send data.
Four Stars

Re: [resolved] use tSocketInput, tSocketOutput with another application is possible?

Hi,
Can you pl put your screenshot of the job if available?
1) tSocketOutput sends data to particular port... it will not receive anything in return
2) C# socket server program can send data to tSocketInput and not tSocketOutput
3) tSocketOutput is an output component
I think there is some expectation mismatch between component working and your expectations from component to do some work.
Thanks
Vaibhav
One Star

Re: [resolved] use tSocketInput, tSocketOutput with another application is possible?

Hi,
Can you pl put your screenshot of the job if available?
1) tSocketOutput sends data to particular port... it will not receive anything in return
2) C# socket server program can send data to tSocketInput and not tSocketOutput
3) tSocketOutput is an output component
I think there is some expectation mismatch between component working and your expectations from component to do some work.
Thanks
Vaibhav

Hi,
I attached 3 screenshot.
Screenshot No 1.
Same Scenario.
Screen No 2.
C# Client -> tSocketInput Server
In this case,
C# Client connect to tSocketInput and sent data.
tSocketInput received data. (You can confirm it in screenshot.)
When C# Client disconnect tSocketInput job ended.
Screen No 3.
C# Server <- tSocketOutput Client
tSocketOutput Client connect to C# Server successfully.
"?? ??? ??? ????? ???? ?????." This message in screenshot side C# Server means that client disconnected before C# Server send the data. Client object released before send data, program occurred error.
tSocketOutput didn't received any data from C# Server.
is there anybody know about this situation??
thanks.
One Star

Re: [resolved] use tSocketInput, tSocketOutput with another application is possible?

This issue is my mistake.
tSocketOutput send data to server.
So I have to read data on networkstream but I try to write data.
This issue is not problem. Just my mistake.

Calling Talend Open Studio Users

The first 100 community members completing the Open Studio survey win a $10 gift voucher.

Start the survey

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog

How Media Organizations Achieved Success with Data Integration

Learn how media organizations have achieved success with Data Integration

Read

Tutorial

Introduction to Talend Open Studio for Data Integration.

Watch