doubt MIXNET tcpBasicClientApp

57 views
Skip to first unread message

wlfdark

unread,
Feb 23, 2012, 2:27:04 PM2/23/12
to omnetpp
Hello friend,

I'm new to this Mixim, I have a question I do not see the solution, it
took days and insurance is nonsense.

In the parameters of omnettpp.ini I have stated the following in the
example of Mixnet Adhoc:

**.host[*].numTcpApps = 1
**.host[0].tcpAppType = "TCPGenericSrvApp"
**.host[1].tcpAppType = "TCPBasicClientApp"

**.host[*].tcpBasicClientApp.thinkTime = 100ms
**.host[*].tcpBasicClientApp.idleInterval = 200ms


**.host[1].tcpBasicClientApp.address = ""
**.host[0].tcpBasicClientApp.port = 21
**.host[0].tcpBasicClientApp.connectAddress = "host[0]"
**.host[0].tcpBasicClientApp.connectPort = 21
**.host[0].tcpBasicClientApp.startTime = 2s
**.host[0].tcpBasicClientApp.numRequestsPerSession = exponential(3)
**.host[0].tcpBasicClientApp.requestLength = 20MB
**.host[0].tcpBasicClientApp.replyLength = 1B
**.host[0].tcpBasicClientApp.reconnectInterval = exponential (100ms)
**.host[0].tcpGenericSrvApp.address = ""
**.host[0].tcpGenericSrvApp.port = 21

Every time I run the simulation again I ask thinkTime values ​​and
idleInterval, and then after I get the following error:
** Event #15 T=1 Adhoc.host[1].tcp (TCP, id=34), on
`ActiveOPEN' (cMessage, id=47)
TCP connection created for (cMessage)ActiveOPEN
Connection <unspec>:-1 to <unspec>:-1 on app[0],connId=6 in INIT
(ptr=0x0xa7be798)
App command: OPEN_ACTIVE
<!> Error in module (TCP) Adhoc.host[1].tcp (id=34) at event #15, t=1:
Model error: Error processing command OPEN_ACTIVE: remote address and
port must be specified.

How should I put the ports and addresses? I searched for examples but
I do not see the solution.

I hope some help, and sorry.
Best Regards

e

Michael

unread,
Feb 24, 2012, 2:59:57 AM2/24/12
to omnetpp
Which OMNeT++ and MiXiM version?

wlfdark

unread,
Feb 24, 2012, 3:50:31 AM2/24/12
to omnetpp
Omnet 4.1 + mixim 2.1

On 24 feb, 02:59, Michael <michael.lin...@informatik.tu-chemnitz.de>
wrote:
> ¿Qué OMNeT + + y la versión Mixim?
>
> El 23 de febrero, 8:27 pm, wlfdark <joniw...@ gmail.com> escribió:
>
>
>
>
>
>
>
> > Hola amigo,
>
> > Soy nuevo en este Mixim, tengo una pregunta, no veo la solución,> tomó días y el seguro es una tontería.
>
> > En los parámetros de omnettpp.ini he dicho lo siguiente en elejemplo> de Mixnet ad hoc:
>
> > **. Host [*]. NumTcpApps = 1> **. de acogida [0]. tcpAppType = "TCPGenericSrvApp"> **. de acogida [1]. tcpAppType = "TCPBasicClientApp"
>
> > **. Host [*]. TcpBasicClientApp.thinkTime = 100 ms> **. host [*]. tcpBasicClientApp.idleInterval = 200 ms
>
> > **. De acogida [1]. TcpBasicClientApp.address = ""> **. de acogida [0]. tcpBasicClientApp.port = 21> **. de acogida [0]. tcpBasicClientApp.connectAddress = "host [0]"> * *. de acogida [0]. tcpBasicClientApp.connectPort = 21> **. de acogida [0]. tcpBasicClientApp.startTime = 2s> **. de acogida [0]. tcpBasicClientApp.numRequestsPerSession = exponencial (3)> **. de acogida [0 ]. tcpBasicClientApp.requestLength = 20MB> **. de acogida [0]. tcpBasicClientApp.replyLength 1B => **. de acogida [0]. tcpBasicClientApp.reconnectInterval = exponencial (100ms)> **. de acogida [0]. tcpGenericSrvApp.address = ""> **. de acogida [0]. tcpGenericSrvApp.port = 21
>
> > Cada vez que ejecute la simulación vuelvo a preguntar los valores thinkTime yidleInterval>, a continuación, después de que me sale el siguiente error:> ** Evento # 15 T = 1 Adhoc.host [1] TCP (TCP, id = 34. ), en> `ActiveOPEN '(cMessage, id = 47)> conexión TCP creado para (cMessage) ActiveOPEN> Conexión <unspec>: -1 a <unspec>: -1 en caso de aplicación [0], connID = 6 en el INIT> (ptr = 0x0xa7be798)> App comando: OPEN_ACTIVE!.> <> Error en el módulo (TCP) Adhoc.host [1] TCP (id = 34) en el evento # 15, t = 1:error> Modelo: Error al procesar el comando OPEN_ACTIVE : dirección remota y elpuerto> debe ser especificada.
>
> > ¿Cómo debo poner los puertos y las direcciones?He buscado ejemplos, pero> no veo la solución.
>
> > Espero que un poco de ayuda, y lo siento.> Saludos cordiales
>
> > E

Amthal M.

unread,
Nov 20, 2021, 1:04:51 AM11/20/21
to OMNeT++ Users
I got the same error but in openflow framework.
Error processing command OPEN_ACTIVE: remote address and
port must be specified

Do you solve the error?
please help

Reply all
Reply to author
Forward
0 new messages